diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:56:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:56:36 +0000 |
commit | 35882cfa5f40cc40acd5ae65ced3e90fbf3cb74c (patch) | |
tree | 37c5bf1d95396a5b4d091502db8e959bf24b64a3 /debian/kexec-tools.postrm | |
parent | Adding upstream version 1:2.0.27. (diff) | |
download | kexec-tools-35882cfa5f40cc40acd5ae65ced3e90fbf3cb74c.tar.xz kexec-tools-35882cfa5f40cc40acd5ae65ced3e90fbf3cb74c.zip |
Adding debian version 1:2.0.27-1.debian/1%2.0.27-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/kexec-tools.postrm')
-rw-r--r-- | debian/kexec-tools.postrm | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/kexec-tools.postrm b/debian/kexec-tools.postrm new file mode 100644 index 0000000..54f7fb6 --- /dev/null +++ b/debian/kexec-tools.postrm @@ -0,0 +1,43 @@ +#! /bin/sh +# postrm script for kexec-tools +# +# 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' <r>overwrit>r> <new-version> +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package + + +case "$1" in + purge) + if [ -f /etc/default/kexec ] + then + rm /etc/default/kexec + 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 |