summaryrefslogtreecommitdiff
path: root/debian/xsane.preinst
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-27 07:44:09 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-27 07:44:09 +0200
commita2b6ed4c1bbe865f8452afcdd1edd596951f49b3 (patch)
tree2e7e4dd152cad0afdc120b6fd7468c888648ee32 /debian/xsane.preinst
parent320a69a1d259525f78cf2e03839a538d3dedd4b1 (diff)
parent45bf9eb43fca688cd835073350e37dc2b2e3c476 (diff)
Merge branch 'release/debian/0.999-7'debian/0.999-7
Diffstat (limited to 'debian/xsane.preinst')
-rw-r--r--debian/xsane.preinst13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/xsane.preinst b/debian/xsane.preinst
new file mode 100644
index 0000000..ae87956
--- /dev/null
+++ b/debian/xsane.preinst
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+HTMLDOCDIR=/usr/share/doc/xsane/html
+
+if [ -d "$HTMLDOCDIR" ] && [ -L "$HTMLDOCDIR" ]; then
+ # Remove old directory and files that are now provided by xsane-common
+ rm -rf "$HTMLDOCDIR"
+fi
+
+
+#DEBHELPER#