summaryrefslogtreecommitdiff
path: root/debian/sane-utils.preinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-05-16 18:51:52 +0200
committerJörg Frings-Fürst <debian@jff.email>2023-05-16 18:51:52 +0200
commitff97eb8097083a7fa121e39329c30bc40b3e34b8 (patch)
treedc1c528da5eccd4d5902a72db683ae756413cf73 /debian/sane-utils.preinst
parent8459e0f4eedbc475004573b80587d989a23aafc9 (diff)
Fix remove wrong remove manpage
Diffstat (limited to 'debian/sane-utils.preinst')
-rw-r--r--debian/sane-utils.preinst27
1 files changed, 0 insertions, 27 deletions
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#