debian/postrm
author Mario de Sousa <msousa@fe.up.pt>
Fri, 26 Oct 2012 10:11:28 +0100
changeset 693 51a2fa6441b9
parent 171 59f5197b088a
permissions -rwxr-xr-x
Prepare to delete search_constant_type_c -> Move the static variables from search_constant_type_c to get_datatype_info_c
#!/bin/sh
# postrm script for canfestival-objdictedit
#
# see: dh_installdeb(1)

set -e

MATIEC=/usr/bin/iec2c

case "$1" in
    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	
	if [ -f "$MATIEC" ]; then
		rm $MATIEC
	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