summaryrefslogtreecommitdiff
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
parentd7a49aa12b5331b19bc471d4bf6fc7ce41610a93 (diff)
d/sane-utils.preinst: Remove man file only on update
-rw-r--r--debian/changelog6
-rw-r--r--debian/sane-utils.preinst5
2 files changed, 7 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index ca09256..10e30b4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sane-backends (1.1.1-4) UNRELEASED; urgency=medium
+
+ * debian/sane-utils.preinst: Remove man file only on update.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 26 Feb 2022 09:41:00 +0100
+
sane-backends (1.1.1-3) unstable; urgency=medium
* Remove test artefact (debian/1.sh).
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#