summaryrefslogtreecommitdiff
path: root/debian/xsane.postinst
diff options
context:
space:
mode:
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