From 0655911383ce74c5082cf35374adf06908e94bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 21 Feb 2022 13:00:30 +0100 Subject: Move man page sane-umax_pp.5 back to libsane-common --- debian/sane-utils.preinst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 debian/sane-utils.preinst (limited to 'debian/sane-utils.preinst') 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# -- cgit v1.2.3