diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /support/dktools/debian/dktools-lib-4.8.postrm |
Initial commit
Diffstat (limited to 'support/dktools/debian/dktools-lib-4.8.postrm')
-rw-r--r-- | support/dktools/debian/dktools-lib-4.8.postrm | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/support/dktools/debian/dktools-lib-4.8.postrm b/support/dktools/debian/dktools-lib-4.8.postrm new file mode 100644 index 0000000000..783d414cdc --- /dev/null +++ b/support/dktools/debian/dktools-lib-4.8.postrm @@ -0,0 +1,47 @@ +#!/bin/sh +# postrm script for dktools +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * <postrm> `remove' +# * <postrm> `purge' +# * <old-postrm> `upgrade' <new-version> +# * <new-postrm> `failed-upgrade' <old-version> +# * <new-postrm> `abort-install' +# * <new-postrm> `abort-install' <old-version> +# * <new-postrm> `abort-upgrade' <old-version> +# * <disappearer's-postrm> `disappear' <overwriter> +# <overwriter-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + remove) + [ ! -d /var/run/printqd ] || rm -fr /var/run/printqd + [ ! -d /var/log/printqd ] || rm -fr /var/log/printqd + ;; + purge) + [ ! -d /var/run/printqd ] || rm -fr /var/run/printqd + [ ! -d /var/log/printqd ] || rm -fr /var/log/printqd + [ ! -d /etc/printqd ] || rm -fr /etc/printqd + [ ! -d /var/printqd ] || rm -fr /var/printqd + ;; + 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 |