diff options
-rwxr-xr-x | bin/sync | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -8,6 +8,7 @@ DIRNAME="`dirname $0`" WORK="$DIRNAME/.." CWD="`pwd`" LOCKFILE="$WORK/.sync-lockfile" +ORIGIN="rsync://cache.sarava.org/cache/data" # Set lockfile if [ -e "$LOCKFILE" ]; then @@ -19,7 +20,7 @@ fi # Sync cd $DIRNAME -rsync -avz rsync://cache.sarava.org/cache/data/ data/ +rsync -avz $ORIGIN/ data/ # Teardown rm $LOCKFILE |