summaryrefslogtreecommitdiff
path: root/debian/xsane.preinst
diff options
context:
space:
mode:
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#