summaryrefslogtreecommitdiff
path: root/debian/xsane.postinst
diff options
context:
space:
mode:
authorAurelien Jarno <aurel32@debian.org>2005-02-03 16:24:20 +0100
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:06 +0000
commit825ef604db05e42ea267a86187bf62d54670c98c (patch)
treec41b8addd68e573fcf6ef599ec777e251a130b8e /debian/xsane.postinst
parentac8459519a9ef2a1ee635509b52a653da1bfe9d5 (diff)
parent817e6294b42b3e4435f1b99728afc1dca84a6445 (diff)
Imported Debian patch 0.97-3debian/0.97-3
Diffstat (limited to 'debian/xsane.postinst')
-rw-r--r--debian/xsane.postinst14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/xsane.postinst b/debian/xsane.postinst
new file mode 100644
index 0000000..6d55a03
--- /dev/null
+++ b/debian/xsane.postinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+HTMLDOCDIR=/usr/share/doc/xsane/html
+NEWHTMLDOCDIR=../xsane-common/html
+
+if [ -d $HTMLDOCDIR -a ! -L $HTMLDOCDIR ]; then
+ # Remove old directory and files that are now provided by xsane-common
+ rm -rf $HTMLDOCDIR
+ # Create a link to the new directory
+ ln -s $NEWHTMLDOCDIR $HTMLDOCDIR
+fi
+
+
+#DEBHELPER#