# HG changeset patch # User Dominique Corbex # Date 1334862133 -7200 # Node ID e7e64bbf23860c167d503f46589f0e1ef6497e7a # Parent 5c25d23ae7283fdf9921f90c723c884afdfdcbe9 boxbackup-client: new default dir diff -r 5c25d23ae728 -r e7e64bbf2386 boxbackup-client/receipt --- a/boxbackup-client/receipt Thu Apr 19 21:00:41 2012 +0200 +++ b/boxbackup-client/receipt Thu Apr 19 21:02:13 2012 +0200 @@ -4,7 +4,7 @@ VERSION="0.11.1" CATEGORY="network" SHORT_DESC="Client for the BoxBackup on-line backup system" -MAINTAINER="domcox@users.sourceforge.net" +MAINTAINER="domcox@slitaz.org" DEPENDS="db libedit libssl perl zlib gcc-lib-base" SOURCE="boxbackup" WANTED="boxbackup-server" @@ -12,7 +12,7 @@ TAGS="backup automatic client" # Configuration variables -CONF_DIR="/etc/box" +CONF_DIR="/etc/boxbackup" DATA_DIR="/var/lib/bbackupd" RUN_DMON=0 @@ -75,7 +75,7 @@ rm -rf $1/$CONF_DIR/bbackupd* # Delete CONF dir (if empty) - if [ `ls -lA $CONF_DIR | wc -l` -eq 0 ]; then + if [ $(ls -lA $CONF_DIR | wc -l) -eq 0 ]; then echo -n "Removing $CONF_DIR..." rm -rf $1/$CONF_DIR status