summaryrefslogtreecommitdiff
path: root/debian/sane-utils.preinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/sane-utils.preinst')
-rw-r--r--debian/sane-utils.preinst5
1 files changed, 1 insertions, 4 deletions
diff --git a/debian/sane-utils.preinst b/debian/sane-utils.preinst
index 2e49781..1b5f826 100644
--- a/debian/sane-utils.preinst
+++ b/debian/sane-utils.preinst
@@ -6,8 +6,7 @@ MANPAGE=/usr/share/man/man5/sane-umax_pp.5.gz
MANLINK=/usr/share/man/man5/umax_pp.5.gz
-
-if [ "$1" = install ] || [ "$1" = upgrade ]; then
+if [ "$1" = upgrade ]; then
## Remove obsolete manpages that are now provided by sane-common
if dpkg --compare-versions "$2" le "1.1.1-2"; then
@@ -25,6 +24,4 @@ fi
-
-
#DEBHELPER#