diff options
Diffstat (limited to 'debian/libsane.preinst')
-rw-r--r-- | debian/libsane.preinst | 14 |
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# |