diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-09-27 07:20:08 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-09-27 07:20:08 +0200 |
commit | 72240251380684053d425061634cfae5312b0392 (patch) | |
tree | f21cb80aee8116e762a50cbe9772d94dec29e68f /debian/libsane-dev.preinst | |
parent | cb7cc50e39b087c75e1886608d548104d007fe16 (diff) |
New package libsane-bin (sync with unstable)
Diffstat (limited to 'debian/libsane-dev.preinst')
-rw-r--r-- | debian/libsane-dev.preinst | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/libsane-dev.preinst b/debian/libsane-dev.preinst new file mode 100644 index 0000000..d547bda --- /dev/null +++ b/debian/libsane-dev.preinst @@ -0,0 +1,23 @@ +#!/bin/sh +set -e + + + +case "$1" in + install|upgrade|abort-upgrade) +# +# remove obsolete files +# + rm -f /usr/bin/sane-config.* + if [ -h /usr/bin/sane-config ] ; then + rm -f /usr/bin/sane-config + fi + ;; + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + +#DEBHELPER# |