summaryrefslogtreecommitdiffstats
path: root/debian/tdb-tools.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tdb-tools.prerm')
-rw-r--r--debian/tdb-tools.prerm24
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/tdb-tools.prerm b/debian/tdb-tools.prerm
new file mode 100644
index 0000000..13743f5
--- /dev/null
+++ b/debian/tdb-tools.prerm
@@ -0,0 +1,24 @@
+#! /bin/sh
+# prerm script for tdb-tools
+#
+# see: dh_installdeb(1)
+
+set -e
+
+case "$1" in
+ remove|upgrade|deconfigure)
+ update-alternatives --remove tdbbackup /usr/bin/tdbbackup.tdbtools
+ ;;
+ failed-upgrade)
+ ;;
+ *)
+ echo "prerm called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
+
+