diff options
author | Cache Saravento <cache@sarava.org> | 2015-08-08 11:34:36 -0300 |
---|---|---|
committer | Cache Saravento <cache@sarava.org> | 2015-08-08 11:34:36 -0300 |
commit | a49ee17ec4854e23276526d8e32fe95afd79cd90 (patch) | |
tree | 112944a89c50c8df7017b2e259ac66642223e47f /bin/sync | |
parent | 6eb2c7fe4af1fae8aea7d5d6c925372687540e09 (diff) | |
download | cache-a49ee17ec4854e23276526d8e32fe95afd79cd90.tar.gz cache-a49ee17ec4854e23276526d8e32fe95afd79cd90.tar.bz2 |
Sync update
Diffstat (limited to 'bin/sync')
-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 |