From 126a45896e8a85e9dc4d5e20a0a99ee36eda847f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 26 Jul 2019 07:57:58 +0200 Subject: Move /usr/share/sane/doc to /usr/share/xsane-common/html --- debian/xsane-common.preinst | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 debian/xsane-common.preinst (limited to 'debian/xsane-common.preinst') diff --git a/debian/xsane-common.preinst b/debian/xsane-common.preinst new file mode 100644 index 0000000..b319f56 --- /dev/null +++ b/debian/xsane-common.preinst @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +HTMLDOCDIR=/usr/share/doc/xsane-common/html + +if [ -d "$HTMLDOCDIR" ] && [ -L "$HTMLDOCDIR" ]; then + # Remove old directory and files that are now provided by xsane-common + rm -rf "$HTMLDOCDIR" +fi + + +#DEBHELPER# -- cgit v1.2.3