summaryrefslogtreecommitdiff
path: root/cron-jobs/sourceballs
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-09-01 19:34:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-09-01 19:34:47 +0200
commit328b1ce478e25902aba5d8f19024dadeaaf3f678 (patch)
tree83620bdcb713057e32887b6e54d23137d78c8b22 /cron-jobs/sourceballs
parent3c07e2e3ff951242a5d9fc124c6937e75e961da2 (diff)
Simplify repo configuration
* Repositories can now be defined in the config file for each host * added community-staging, gnome-unstable and kde-unstable * Exception is the adjust-permission cron-job; but we might want to use acls in future anyway Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-xcron-jobs/sourceballs3
1 files changed, 1 insertions, 2 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
index a482eb7..0cf062f 100755
--- a/cron-jobs/sourceballs
+++ b/cron-jobs/sourceballs
@@ -5,7 +5,6 @@
ftpbase="${FTP_BASE}"
srcbase="${FTP_BASE}/sources"
-repos=(core extra testing community community-testing staging multilib)
script_lock
@@ -18,7 +17,7 @@ FAILED_PKGS=""
[ -e "$srcbase/errors.txt" ] && /bin/mv "$srcbase/errors.txt" "$srcbase/errors.txt.old"
echo "Errors occured during run:" > "$srcbase/errors.txt"
-for repo in ${repos[@]}; do
+for repo in ${PKGREPO[@]}; do
for arch in ${ARCHES[@]} any; do
ftppath="$ftpbase/$repo/os/$arch"
if [ ! -d "$ftppath" ]; then