From 13a92fd57322d6de4548e7dc992db591a0a54ee3 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 28 Aug 2005 19:03:36 +0200 Subject: Imported Debian patch 0.97-4 --- debian/xsane.postinst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'debian/xsane.postinst') diff --git a/debian/xsane.postinst b/debian/xsane.postinst index 6d55a03..3a7af58 100644 --- a/debian/xsane.postinst +++ b/debian/xsane.postinst @@ -3,11 +3,11 @@ HTMLDOCDIR=/usr/share/doc/xsane/html NEWHTMLDOCDIR=../xsane-common/html -if [ -d $HTMLDOCDIR -a ! -L $HTMLDOCDIR ]; then +if [ -d "$HTMLDOCDIR" ] && [ ! -L "$HTMLDOCDIR" ]; then # Remove old directory and files that are now provided by xsane-common - rm -rf $HTMLDOCDIR + rm -rf "$HTMLDOCDIR" # Create a link to the new directory - ln -s $NEWHTMLDOCDIR $HTMLDOCDIR + ln -s "$NEWHTMLDOCDIR" "$HTMLDOCDIR" fi -- cgit v1.2.3