diff options
-rwxr-xr-x | syncrepo.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/syncrepo.sh b/syncrepo.sh index 1faa7c5..73436b5 100755 --- a/syncrepo.sh +++ b/syncrepo.sh @@ -5,8 +5,9 @@ target="${home}/repo" tmp="${home}/tmp" lock='/tmp/mirrorsync.lck' bwlimit=4096 -#source='rsync://rsync.archlinux.org/ftp_tier1' -#lastupdate_url="http://rsync.archlinux.org/lastupdate" +# NOTE: you very likely need to change this since rsync.archlinux.org requires you to be a tier 1 mirror +source='rsync://rsync.archlinux.org/ftp_tier1' +lastupdate_url="http://rsync.archlinux.org/lastupdate" [ ! -d "${target}" ] && mkdir -p "${target}" [ ! -d "${tmp}" ] && mkdir -p "${tmp}" |