summaryrefslogtreecommitdiff
path: root/debian/libsane.preinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-09-27 07:20:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-09-27 07:20:08 +0200
commit72240251380684053d425061634cfae5312b0392 (patch)
treef21cb80aee8116e762a50cbe9772d94dec29e68f /debian/libsane.preinst
parentcb7cc50e39b087c75e1886608d548104d007fe16 (diff)
New package libsane-bin (sync with unstable)
Diffstat (limited to 'debian/libsane.preinst')
-rw-r--r--debian/libsane.preinst14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/libsane.preinst b/debian/libsane.preinst
new file mode 100644
index 0000000..29eac95
--- /dev/null
+++ b/debian/libsane.preinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+
+
+if [ "$1" = upgrade ]; then
+#
+# remove obsolete udev
+#
+ if [ -l /lib/udev/rules.d/60-libsane.rules ]; then
+ rm -f /lib/udev/rules.d/60-libsane.rules
+ fi
+fi
+
+#DEBHELPER#