diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2023-05-16 18:51:52 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2023-05-16 18:51:52 +0200 |
commit | ff97eb8097083a7fa121e39329c30bc40b3e34b8 (patch) | |
tree | dc1c528da5eccd4d5902a72db683ae756413cf73 /debian | |
parent | 8459e0f4eedbc475004573b80587d989a23aafc9 (diff) |
Fix remove wrong remove manpage
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 7 | ||||
-rw-r--r-- | debian/sane-utils.preinst | 27 |
2 files changed, 7 insertions, 27 deletions
diff --git a/debian/changelog b/debian/changelog index 703a316..9a04d4c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +sane-backends (1.2.1-2) unstable; urgency=medium + + * Fix remove wrong remove manpage (Closes: #1035677): + - Remove debian/sane-utils.preinst. + + -- Jörg Frings-Fürst <debian@jff.email> Tue, 16 May 2023 18:49:09 +0200 + sane-backends (1.2.1-1) unstable; urgency=medium * New upstream release: diff --git a/debian/sane-utils.preinst b/debian/sane-utils.preinst deleted file mode 100644 index 1b5f826..0000000 --- a/debian/sane-utils.preinst +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - -set -e - -MANPAGE=/usr/share/man/man5/sane-umax_pp.5.gz -MANLINK=/usr/share/man/man5/umax_pp.5.gz - - -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 - - if [ -f "$MANLINK" ] && [ -L "$MANLINK" ]; then - rm -rf "$MANLINK" - fi - - - if [ -f "$MANPAGE" ]; then - rm -rf "$MANPAGE" - fi - fi -fi - - - -#DEBHELPER# |