diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/sane-utils.preinst | 5 |
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# |