git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@250
370017ae-e619-0410-ac65-
c121f96126d4
PACKAGE="backupninja"
ARCH="noarch"
VERSION=${VERSION:=0.9.3}
-BUILD=${BUILD:=26rha}
+BUILD=${BUILD:=1rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
REPOS=${REPOS:=$TMP}
if [ "$from" == "local" ]; then
$rsync $EXCLUDES /$SECTION/ $backupdir/$SECTION/$section.0/ >> $log
- if [ "$?" != "0" ];
+ if [ "$?" != "0" ]; then
error "Rsync error when trying to transfer $SECTION"
fi
elif [ "$from" == "remote" ]; then
exit 1
else
$rsync $EXCLUDES -e "$ssh" $user@$host:/$SECTION/ $backupdir/$SECTION/$section.0 >> $log
- if [ "$?" != "0" ];
+ if [ "$?" != "0" ]; then
error "Rsync error when trying to transfer $SECTION"
fi
fi