From ea23d5dff7b4e99e62ab582429f4a6f8b0263363 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Tue, 19 Apr 2011 21:02:56 -0700 Subject: Ready for testing in regular usage --- repo-update | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'repo-update') diff --git a/repo-update b/repo-update index 7241507..2133f46 100755 --- a/repo-update +++ b/repo-update @@ -27,19 +27,20 @@ for repo in ${ARCHREPOS[@]}; do rsync://${mirror}/${mirrorpath}/${repo}/os/${arch}/ \ ${repodir}/staging/${repo}/ done - for arch in ${ARCHES[@]}; do - msg2 "Cleaning" + for arch in 'i686' 'x86_64'; do + msg "Cleaning $repo $arch" # if there is a db in repo (db is created on rsync) - if [ -r ${repodir}/${repo}/os/${arch}/${repo}${DBEXT} ]; then + if [ -r ${repodir}/staging/${repo}/os/${arch}/${repo}${DBEXT} ]; then # clean_repo makes pending list with files on db and remove # packages from db clean_repo.py -k ${blacklist} -w ${whitelist} \ - -p ${docs_dir}/pending-${repo} \ + -p ${docs_dir}/pending-${repo}.txt \ -b ${repodir}/staging/${repo}/${repo}${DBEXT} fi - # if some nonfree files got pass the filter this command delete them - python clean_repo.py -k ${blacklist} -d ${repodir}/staging/${repo} done + # if some nonfree files got pass the filter this command delete them + msg "Fallback cleaning repo" + python clean_repo.py -k ${blacklist} -d ${repodir}/staging/${repo} done db-update -- cgit v1.2.3-2-g168b