summaryrefslogtreecommitdiff
path: root/debian/boxbackup-server.postinst
diff options
context:
space:
mode:
authorReinhard Tartler <siretart@tauware.de>2009-02-11 08:59:04 +0100
committerReinhard Tartler <siretart@tauware.de>2009-02-11 08:59:04 +0100
commitd8225e612cfd6b2e3022840f4b15b6b4cf92f346 (patch)
treed672fb835e49c542db40d860515b8267d2ae68b9 /debian/boxbackup-server.postinst
parent4d6fbb4293310d8b26dc3ab1c7758de963c87f74 (diff)
Fix shell scripting in the debconf interaction code of the package's
postinst script. This should prevent problems like LP: #222999
Diffstat (limited to 'debian/boxbackup-server.postinst')
-rw-r--r--debian/boxbackup-server.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/boxbackup-server.postinst b/debian/boxbackup-server.postinst
index 95ceb542..4045daca 100644
--- a/debian/boxbackup-server.postinst
+++ b/debian/boxbackup-server.postinst
@@ -71,7 +71,7 @@ case "$1" in
DIR3=`echo "$RET" | awk '{ print $3 }'`
if [ -n $DIR1 ]; then
- if [ -z $DIR2 -o -z $DIR3 ]; then
+ if [ -z "$DIR2" -o -z "$DIR3" ]; then
DIR2=$DIR1
DIR3=$DIR1
fi