summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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#