summaryrefslogtreecommitdiff
path: root/debian/libsane-dev.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libsane-dev.preinst')
-rw-r--r--debian/libsane-dev.preinst20
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/libsane-dev.preinst b/debian/libsane-dev.preinst
new file mode 100644
index 0000000..b085e99
--- /dev/null
+++ b/debian/libsane-dev.preinst
@@ -0,0 +1,20 @@
+#!/bin/sh
+set -e
+
+
+
+case "$1" in
+ install|upgrade|abort-upgrade)
+#
+# remove obsolete file
+#
+ rm -f /urs/bin/sane-config.*
+ ;;
+ *)
+ echo "preinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+
+#DEBHELPER#