summaryrefslogtreecommitdiff
path: root/debian/xsane.postinst
diff options
context:
space:
mode:
authorJulien BLACHE <jblache@debian.org>2005-08-28 19:03:36 +0200
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:07 +0000
commit13a92fd57322d6de4548e7dc992db591a0a54ee3 (patch)
tree1dec53471e000a61faef1657595957f35b67e525 /debian/xsane.postinst
parent825ef604db05e42ea267a86187bf62d54670c98c (diff)
Imported Debian patch 0.97-4debian/0.97-4
Diffstat (limited to 'debian/xsane.postinst')
-rw-r--r--debian/xsane.postinst6
1 files changed, 3 insertions, 3 deletions
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