debian/postrm
changeset 171 59f5197b088a
equal deleted inserted replaced
170:e10fbd3707df 171:59f5197b088a
       
     1 #!/bin/sh
       
     2 # postrm script for canfestival-objdictedit
       
     3 #
       
     4 # see: dh_installdeb(1)
       
     5 
       
     6 set -e
       
     7 
       
     8 MATIEC=/usr/bin/iec2c
       
     9 
       
    10 case "$1" in
       
    11     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
       
    12 	
       
    13 	if [ -f "$MATIEC" ]; then
       
    14 		rm $MATIEC
       
    15 	fi
       
    16 	;;
       
    17 
       
    18     *)
       
    19         echo "postrm called with unknown argument \`$1'" >&2
       
    20         exit 1
       
    21     ;;
       
    22 esac
       
    23 
       
    24 # dh_installdeb will replace this with shell code automatically
       
    25 # generated by other debhelper scripts.
       
    26 
       
    27 #DEBHELPER#
       
    28 
       
    29 exit 0
       
    30 
       
    31