summaryrefslogtreecommitdiff
path: root/debian/sane-utils.preinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-02-21 13:00:30 +0100
committerJörg Frings-Fürst <debian@jff.email>2022-02-21 13:00:30 +0100
commit0655911383ce74c5082cf35374adf06908e94bf0 (patch)
tree823e0ff4894d90508a0d8d067f054941e1693b9c /debian/sane-utils.preinst
parentc29081c8566cb5d4d2606e9b68b35b8f38583c3b (diff)
Move man page sane-umax_pp.5 back to libsane-common
Diffstat (limited to 'debian/sane-utils.preinst')
-rw-r--r--debian/sane-utils.preinst21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/sane-utils.preinst b/debian/sane-utils.preinst
new file mode 100644
index 0000000..1a7f24b
--- /dev/null
+++ b/debian/sane-utils.preinst
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+MANPAGE=/usr/share/man/man5/sane-umax_pp.5.gz
+MANLINK=/usr/share/man/man5/umax_pp.5.gz
+
+
+if [ -f "$MANLINK" ] && [ -L "$MANLINK" ]; then
+ # Remove old directory and files that are now provided by xsane-common
+ rm -rf "$MANLINK"
+fi
+
+
+if [ -f "$MANPAGE" ]; then
+ # Remove old directory and files that are now provided by xsane-common
+ rm -rf "$MANPAGE"
+fi
+
+
+#DEBHELPER#