summaryrefslogtreecommitdiff
path: root/debian/libsane-dev.preinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-08-30 18:55:53 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-08-30 18:55:53 +0200
commitc3241d4d79b7a5612f5fe63588f796646afdf706 (patch)
treed81076fccd08661cf6adaad81fad33796e4f1440 /debian/libsane-dev.preinst
parentd0a7322e21ad51dc97fa759a16ca1c1c7e471764 (diff)
New package libsane-bin
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#