]> gitweb.fluxo.info Git - slackbuilds.git/commitdiff
backupninja: aaahhh, this is hopefully the last backupninja commit of the day :PP...
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Wed, 20 Sep 2006 02:44:22 +0000 (02:44 +0000)
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>
Wed, 20 Sep 2006 02:44:22 +0000 (02:44 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@250 370017ae-e619-0410-ac65-c121f96126d4

backupninja/backupninja.SlackBuild
backupninja/rub

index 4647188f371503ecec5b13e367614c3875b5c8b6..ac7cdbbf03784dae4bab9b4a7c4a024f147d6496 100755 (executable)
@@ -18,7 +18,7 @@ fi
 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}
index dc6a3f1ca976f289f63ceb6a39ef8e9995df978f..efdfa17179d99d1900b6954a6d78f65208b762b3 100644 (file)
@@ -141,7 +141,7 @@ for SECTION in $include; do
 
   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
@@ -150,7 +150,7 @@ for SECTION in $include; do
       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