]> git.sur5r.net Git - bacula/docs/commitdiff
Tweak upload
authorKern Sibbald <kern@sibbald.com>
Fri, 1 Mar 2013 08:05:57 +0000 (09:05 +0100)
committerKern Sibbald <kern@sibbald.com>
Thu, 14 Mar 2013 13:52:38 +0000 (14:52 +0100)
docs/upload

index 0898378669923124471b49de303c8d181dc6b046..391ca74e15ab9ebf35dff999429aa0dcbaa3d589 100755 (executable)
@@ -19,7 +19,7 @@ sendit()
     echo " "
     echo "Sending: $1/$i"
     echo "To:      $2/$i"
-    rsync -avz --delete --progress $1/$i/        $2/$i/
+    rsync -avz --delete --progress $1/$i/$i/     $2/$i/$i/
     rsync -avz --delete --progress $1/$i/$i.pdf  $2/$i/
   done
 }
@@ -27,15 +27,3 @@ sendit()
 dest=bacula:/var/www/bacula/5.2.x-manuals/${lang}
 echo "Sending to $dest"
 sendit $src $dest
-
-dest=bsweb:/var/www/docs/5.2.x-manuals/${lang}
-echo "Sending to $dest"
-sendit $src $dest
-
-destdir=/home/frs/repo/htmldocs/${lang}/${ver}
-dest=bsweb:${destdir}
-ssh bsweb <<EOF
-mkdir -p ${destdir}
-EOF
-echo "Sending to $dest"
-sendit $src $dest