greg@139: #!/bin/sh greg@139: # postrm script for plcopeneditor greg@139: # greg@139: # see: dh_installdeb(1) greg@139: greg@139: set -e greg@139: greg@139: # summary of how this script can be called: greg@139: # * `remove' greg@139: # * `purge' greg@139: # * `upgrade' greg@139: # * `failed-upgrade' greg@139: # * `abort-install' greg@139: # * `abort-install' greg@139: # * `abort-upgrade' greg@139: # * `disappear' greg@139: # greg@139: # for details, see http://www.debian.org/doc/debian-policy/ or greg@139: # the debian-policy package greg@139: POE=/usr/bin/plcopeneditor greg@139: greg@139: case "$1" in greg@139: purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) greg@139: if [ -f "$POE" ]; then greg@139: rm $POE greg@139: fi greg@139: ;; greg@139: *) greg@139: echo "postrm called with unknown argument \`$1'" >&2 greg@139: exit 1 greg@139: ;; greg@139: esac greg@139: greg@139: # dh_installdeb will replace this with shell code automatically greg@139: # generated by other debhelper scripts. greg@139: greg@139: #DEBHELPER# greg@139: greg@139: exit 0 greg@139: greg@139: