summaryrefslogtreecommitdiff
path: root/debian/sane-utils.preinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-26 09:43:52 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-26 09:43:52 +0100
commitc6f9621645e30e27f431d42166442b8046d2a00c (patch)
tree7248e0ae8e8cd88bc29333f8e3ac8e58a442106d /debian/sane-utils.preinst
parentd7a49aa12b5331b19bc471d4bf6fc7ce41610a93 (diff)
d/sane-utils.preinst: Remove man file only on update
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#