From a49ee17ec4854e23276526d8e32fe95afd79cd90 Mon Sep 17 00:00:00 2001 From: Cache Saravento Date: Sat, 8 Aug 2015 11:34:36 -0300 Subject: Sync update --- bin/sync | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/sync b/bin/sync index 5962eef..c683608 100755 --- a/bin/sync +++ b/bin/sync @@ -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 -- cgit v1.2.3