diff options
author | Julien BLACHE <jblache@debian.org> | 2005-08-28 19:03:36 +0200 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2014-10-03 14:05:07 +0000 |
commit | 13a92fd57322d6de4548e7dc992db591a0a54ee3 (patch) | |
tree | 1dec53471e000a61faef1657595957f35b67e525 /debian/xsane.postinst | |
parent | 825ef604db05e42ea267a86187bf62d54670c98c (diff) |
Imported Debian patch 0.97-4debian/0.97-4
Diffstat (limited to 'debian/xsane.postinst')
-rw-r--r-- | debian/xsane.postinst | 6 |
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 |