wok-4.x rev 1899
boxbackup: typo fix
author | Dominique Corbex <domcox@users.sourceforge.net> |
---|---|
date | Sat Dec 20 18:32:58 2008 +0100 (2008-12-20) |
parents | 09747329b5d0 |
children | 08e389ea2b32 |
files | boxbackup-client/receipt boxbackup-server/receipt |
line diff
1.1 --- a/boxbackup-client/receipt Sat Dec 20 18:27:45 2008 +0100 1.2 +++ b/boxbackup-client/receipt Sat Dec 20 18:32:58 2008 +0100 1.3 @@ -70,7 +70,7 @@ 1.4 rm -rf $CONF_DIR/bbackupd* 1.5 1.6 # Delete CONF dir (if empty) 1.7 - if [ `ls $CONF_DIR | wc -l` -eq 0 ]; then 1.8 + if [ `ls -lA $CONF_DIR | wc -l` -eq 0 ]; then 1.9 echo -n "Removing $CONF_DIR..." 1.10 rm -rf $CONF_DIR 1.11 status
2.1 --- a/boxbackup-server/receipt Sat Dec 20 18:27:45 2008 +0100 2.2 +++ b/boxbackup-server/receipt Sat Dec 20 18:32:58 2008 +0100 2.3 @@ -170,7 +170,7 @@ 2.4 status 2.5 fi 2.6 # Delete $CONF_DIR (if empty) 2.7 - if [ `ls $CONF_DIR | wc -l` -eq 0 ]; then 2.8 + if [ `ls -lA $CONF_DIR | wc -l` -eq 0 ]; then 2.9 echo -n "Removing $CONF_DIR..." 2.10 rm -r $CONF_DIR 2.11 status