summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-06-13 17:47:27 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-06-13 17:47:27 +0200
commit9e88d724280490f6d72e901ed8b2e0d2d0f67c45 (patch)
treedc1c528da5eccd4d5902a72db683ae756413cf73 /debian
parent778ebf8ee9cb22ea5727844333bcd5a6ee6bc0de (diff)
parentff97eb8097083a7fa121e39329c30bc40b3e34b8 (diff)
Merge branch 'release/debian/1.2.1-2'debian/1.2.1-2
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog7
-rw-r--r--debian/sane-utils.preinst27
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#