wok diff boxbackup-client/receipt @ rev 20153
Up miniupnp (2.0.20171212), fix get-rar url (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 18 12:30:14 2017 +0100 (2017-12-18) |
parents | 1067bb7f1e24 |
children | a01ff9505078 |
line diff
1.1 --- a/boxbackup-client/receipt Wed Dec 16 15:49:50 2015 +0100 1.2 +++ b/boxbackup-client/receipt Mon Dec 18 12:30:14 2017 +0100 1.3 @@ -78,12 +78,12 @@ 1.4 rm -rf "$1/$CONF_DIR"/bbackupd* 1.5 1.6 # Delete CONF dir (if empty) 1.7 - if [ $(ls -lA $CONF_DIR | wc -l) -eq 0 ]; then 1.8 + if [ $(ls -lA "$1/$CONF_DIR" | wc -l) -eq 0 ]; then 1.9 echo 1.10 action "Removing $CONF_DIR..." 1.11 - rm -rf $1/$CONF_DIR 1.12 + rm -rf "$1/$CONF_DIR" 1.13 status 1.14 fi 1.15 # Delete PID, sock files 1.16 - rm -f $1/var/run/bbackupd.* 1.17 + rm -f "$1/var/run/bbackupd".* 1.18 }