From 0d8774a65816adf9b3d18027a605878d8e4ec9f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 16 Dec 2014 13:53:17 +0100 Subject: add debian/* after git-import-orig --- debian/xsane.postinst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 debian/xsane.postinst (limited to 'debian/xsane.postinst') 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# -- cgit v1.2.3