wok rev 12351

boxbackup-client: new default dir
author Dominique Corbex <domcox@slitaz.org>
date Thu Apr 19 21:02:13 2012 +0200 (2012-04-19)
parents 5c25d23ae728
children 0fcb283af425
files boxbackup-client/receipt
line diff
     1.1 --- a/boxbackup-client/receipt	Thu Apr 19 21:00:41 2012 +0200
     1.2 +++ b/boxbackup-client/receipt	Thu Apr 19 21:02:13 2012 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="0.11.1"
     1.5  CATEGORY="network"
     1.6  SHORT_DESC="Client for the BoxBackup on-line backup system"
     1.7 -MAINTAINER="domcox@users.sourceforge.net"
     1.8 +MAINTAINER="domcox@slitaz.org"
     1.9  DEPENDS="db libedit libssl perl zlib gcc-lib-base"
    1.10  SOURCE="boxbackup"
    1.11  WANTED="boxbackup-server"
    1.12 @@ -12,7 +12,7 @@
    1.13  TAGS="backup automatic client"
    1.14  
    1.15  # Configuration variables                                                                                                    
    1.16 -CONF_DIR="/etc/box"
    1.17 +CONF_DIR="/etc/boxbackup"
    1.18  DATA_DIR="/var/lib/bbackupd"
    1.19  RUN_DMON=0
    1.20  
    1.21 @@ -75,7 +75,7 @@
    1.22  	rm -rf $1/$CONF_DIR/bbackupd*
    1.23  
    1.24  	# Delete CONF dir (if empty)
    1.25 -	if [ `ls -lA $CONF_DIR | wc -l` -eq 0 ]; then
    1.26 +	if [ $(ls -lA $CONF_DIR | wc -l) -eq 0 ]; then
    1.27  		echo -n "Removing $CONF_DIR..."
    1.28  		rm -rf $1/$CONF_DIR
    1.29  		status