diff options
author | Reinhard Tartler <siretart@tauware.de> | 2009-02-11 08:59:04 +0100 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2009-02-11 08:59:04 +0100 |
commit | d8225e612cfd6b2e3022840f4b15b6b4cf92f346 (patch) | |
tree | d672fb835e49c542db40d860515b8267d2ae68b9 /debian/boxbackup-client.postinst | |
parent | 4d6fbb4293310d8b26dc3ab1c7758de963c87f74 (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-client.postinst')
-rw-r--r-- | debian/boxbackup-client.postinst | 8 |
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 |