From d2e2ffd9f8a1103cb7a671ad2289dae6b00b2637 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 11 Apr 2017 00:20:46 +0200 Subject: Adding debconf handling for /etc/default/storage-tools. Signed-off-by: Daniel Baumann --- debian/open-infrastructure-storage-tools.postrm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 debian/open-infrastructure-storage-tools.postrm (limited to 'debian/open-infrastructure-storage-tools.postrm') 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 -- cgit v1.2.3