wok diff boxbackup-client/receipt @ rev 19750
compiz-plugins-unsupported, xfmedia: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 19:08:46 2017 +0100 (2017-02-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 Sat Feb 18 19:08:46 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 }