diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-04-10 22:20:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2017-04-10 22:20:46 +0000 |
commit | d2e2ffd9f8a1103cb7a671ad2289dae6b00b2637 (patch) | |
tree | 1573b7a8a0d3799aedfca016af69ff326bb0ea96 /debian/open-infrastructure-storage-tools.postrm | |
parent | Annotating recommends and suggests in control. (diff) | |
download | open-infrastructure-storage-tools-d2e2ffd9f8a1103cb7a671ad2289dae6b00b2637.tar.xz open-infrastructure-storage-tools-d2e2ffd9f8a1103cb7a671ad2289dae6b00b2637.zip |
Adding debconf handling for /etc/default/storage-tools.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/open-infrastructure-storage-tools.postrm')
-rwxr-xr-x | debian/open-infrastructure-storage-tools.postrm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/open-infrastructure-storage-tools.postrm b/debian/open-infrastructure-storage-tools.postrm new file mode 100755 index 0000000..3efff27 --- /dev/null +++ b/debian/open-infrastructure-storage-tools.postrm @@ -0,0 +1,22 @@ +#!/bin/sh + +set -e + +case "${1}" in + purge) + rm -f /etc/default/storage-tools + ;; + + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 |