summaryrefslogtreecommitdiff
path: root/debian/boxbackup-client.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/boxbackup-client.postinst')
-rw-r--r--debian/boxbackup-client.postinst8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/boxbackup-client.postinst b/debian/boxbackup-client.postinst
index e21db03a..249e1e9e 100644
--- a/debian/boxbackup-client.postinst
+++ b/debian/boxbackup-client.postinst
@@ -74,15 +74,15 @@ __EOF
if [ "$RET" = "lazy" ]; then
db_get boxbackup-client/UpdateStoreInterval
UPDATE=$RET
- [ -z $UPDATE ] && UPDATE="3600"
+ [ -z "$UPDATE" ] && UPDATE="3600"
db_get boxbackup-client/MinimumFileAge
FILEAGE=$RET
- [ -z $FILEAGE ] && FILEAGE="21600"
+ [ -z "$FILEAGE" ] && FILEAGE="21600"
db_get boxbackup-client/MaxUploadWait
UPWAIT=$RET
- [ -z $UPWAIT ] && UPWAIT="86400"
+ [ -z "$UPWAIT" ] && UPWAIT="86400"
AUTO=yes
else
@@ -219,7 +219,7 @@ __EOF
chmod 600 $BBKEY || true
# SSL stuff
- if [ ! -z $ACCOUNT ]; then
+ if [ ! -z "$ACCOUNT" ]; then
if [ ! -e $BBPRIVKEY -a ! -e $BBCERT ]; then
db_get boxbackup-client/generateCertificate