summaryrefslogtreecommitdiffstats
path: root/syncrepo
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-08-17 10:04:06 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-08-17 10:04:06 +0200
commit22783de203914f219ab50cb6e6f316c9b26be64b (patch)
treea3133a23ddf39809c597522f570c8c67e057b22d /syncrepo
parentf0faecd4d0f37575781865e8dfe82f8eadec135d (diff)
downloadrepo-tools-22783de203914f219ab50cb6e6f316c9b26be64b.tar.gz
repo-tools-22783de203914f219ab50cb6e6f316c9b26be64b.tar.xz
add [staging] repository
Diffstat (limited to 'syncrepo')
-rwxr-xr-xsyncrepo3
1 files changed, 2 insertions, 1 deletions
diff --git a/syncrepo b/syncrepo
index b182996..f531343 100755
--- a/syncrepo
+++ b/syncrepo
@@ -5,7 +5,7 @@ target="${home}/repo"
tmp="${home}/tmp"
lock='/tmp/mirrorsync.lck'
source='-e ssh gerolde.archlinux.org:/srv/ftp'
-repos='core,extra,testing,community,community-testing'
+repos='core,extra,testing,community,community-testing,staging,pool'
[ ! -d "${target}" ] && mkdir -p "${target}"
[ ! -d "${tmp}" ] && mkdir -p "${tmp}"
@@ -16,6 +16,7 @@ trap "rm -f '${lock}'" EXIT INT TERM
rsync -rtlvH --safe-links --delete-after --progress -h \
--delay-updates \
--temp-dir="${tmp}" \
+ --exclude='*.db.tar.gz*' \
--exclude='*.abs.tar.gz*' \
--exclude='*.files.tar.gz*' \
--exclude='*.links.tar.gz*' \