debian/postrm
author Edouard Tisserant
Tue, 24 May 2011 00:36:08 +0200
changeset 606 780bd150ebba
parent 91 8d6dd867cf27
permissions -rw-r--r--
Fixed runtime with twisted but without Wx (-x 0 -t 1), made non-Zeroconf a default option, i.e when -n not specified
#!/bin/sh
# postrm script for canfestival-objdictedit
#
# see: dh_installdeb(1)

set -e

BEREMIZ=/usr/bin/beremiz

case "$1" in
    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	
	if [ -f "$BEREMIZ" ]; then
		rm $BEREMIZ
	fi
	;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0