Subversion Repositories

?revision_form?Rev ?revision_input??revision_submit??revision_endform?

Blame | Last modification | View Log | RSS feed

#!/bin/sh
# postrm script for pmk
#
# see: dh_installdeb(1)

conffile=/etc/pmk/pmk.conf

set -e

case "$1" in
    purge)
        rm -f $conffile $conffile~ $conffile.bak \#$conffile\# \
            $conffile.ucf-new $conffile.ucf-old $conffile.ucf-dist
        if which ucf >/dev/null; then
            ucf --purge /etc/pmk.conf
        fi
        if which ucfr >/dev/null; then
            ucfr --purge pmk /etc/pmk.conf
        fi
        ;;

    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
        ;;

    *)
        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