#! /bin/sh

set -e


# Handle the arguments

case "$1" in 
    configure)
        # Make sure the substitution file for Ghostscript exists
        if ! defoma-subst check-rule ghostscript; then
            defoma-subst new-rule ghostscript
        fi

        defoma-app -t update gs
        ;;
esac

#DEBHELPER#
