debian/postrm
changeset 727 3edd2f19bce2
parent 726 ae63ccc29444
child 728 e0424e96e3fd
equal deleted inserted replaced
726:ae63ccc29444 727:3edd2f19bce2
     1 #!/bin/sh
       
     2 # postrm script for canfestival-objdictedit
       
     3 #
       
     4 # see: dh_installdeb(1)
       
     5 
       
     6 set -e
       
     7 
       
     8 BEREMIZ=/usr/bin/beremiz
       
     9 
       
    10 case "$1" in
       
    11     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
       
    12 	
       
    13 	if [ -f "$BEREMIZ" ]; then
       
    14 		rm $BEREMIZ
       
    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