diff --git a/config b/config index eb0d2bd..558f41d 100644 --- a/config +++ b/config @@ -1 +1,2 @@ -ubuntu-releases rsync://mirrors4.tuna.tsinghua.edu.cn/ubuntu-releases /tmp/mirrors/ubuntu-releases \ No newline at end of file +putty rsync://mirrors4.tuna.tsinghua.edu.cn/putty /tmp/putty +github-raw rsync://mirrors4.tuna.tsinghua.edu.cn/github-raw /tmp/github-raw diff --git a/sync.sh b/sync.sh index 8b746f7..93fa4c9 100755 --- a/sync.sh +++ b/sync.sh @@ -40,8 +40,8 @@ do_sync() { then touch "$lock_file" presync "$name" - echo rsync -4avzthP --stats --delete --bwlimit=6000 "$src" "$dst" - postsync "$name" $? + rsync -avzthP --stats --delete --bwlimit=6000 "$src" "$dst" + postsync "$name" $? "$dst" rm "$lock_file" else locked "$name"