summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-28 08:15:57 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-28 08:15:57 +0100
commitfa2a6687f1ded41fc9ef592045e950839c81ed7b (patch)
tree973a60ade05621a52ac2b3d8989a5a03cdda6ffd /debian
parent4702f9548612bf7a82d0e0195c0b6428f1c4553a (diff)
parenta18336d298b4be69c1db4740973a1ee30c315bc2 (diff)
Merge branch 'release/debian/1.1.1-4'debian/1.1.1-4
Diffstat (limited to 'debian')
-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..3d71c46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sane-backends (1.1.1-4) unstable; urgency=medium
+
+ * debian/sane-utils.preinst: Remove man file only on update.
+
+ -- Jörg Frings-Fürst <debian@jff.email> Sat, 26 Feb 2022 14:47:49 +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#