diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-16 13:53:17 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-16 13:53:17 +0100 |
commit | 0d8774a65816adf9b3d18027a605878d8e4ec9f8 (patch) | |
tree | 6c637c9f12d6e351043cb2ad52d7a7688d155bbe /debian/xsane.postinst | |
parent | 66bc6024fa12fb3f7f3bddc8dee752b10f68eefb (diff) |
add debian/* after git-import-orig
Diffstat (limited to 'debian/xsane.postinst')
-rw-r--r-- | debian/xsane.postinst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/xsane.postinst b/debian/xsane.postinst new file mode 100644 index 0000000..b0b66df --- /dev/null +++ b/debian/xsane.postinst @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +HTMLDOCDIR=/usr/share/doc/xsane/html +NEWHTMLDOCDIR=../xsane-common/html + +if [ -d "$HTMLDOCDIR" ] && [ ! -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# |