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.preinst5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/libsane-dev.preinst b/debian/libsane-dev.preinst
index b085e99..d309f84 100644
--- a/debian/libsane-dev.preinst
+++ b/debian/libsane-dev.preinst
@@ -8,7 +8,10 @@ case "$1" in
#
# remove obsolete file
#
- rm -f /urs/bin/sane-config.*
+ 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