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: # * <postrm> `remove' greg@139: # * <postrm> `purge' greg@139: # * <old-postrm> `upgrade' <new-version> greg@139: # * <new-postrm> `failed-upgrade' <old-version> greg@139: # * <new-postrm> `abort-install' greg@139: # * <new-postrm> `abort-install' <old-version> greg@139: # * <new-postrm> `abort-upgrade' <old-version> greg@139: # * <disappearer's-postrm> `disappear' <overwriter> greg@139: # <overwriter-version> 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: