summaryrefslogtreecommitdiffstats
path: root/debian/open-infrastructure-storage-tools.postrm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2017-04-10 22:20:46 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2017-04-10 22:20:46 +0000
commitd2e2ffd9f8a1103cb7a671ad2289dae6b00b2637 (patch)
tree1573b7a8a0d3799aedfca016af69ff326bb0ea96 /debian/open-infrastructure-storage-tools.postrm
parentAnnotating recommends and suggests in control. (diff)
downloadopen-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-xdebian/open-infrastructure-storage-tools.postrm22
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