summaryrefslogtreecommitdiff
path: root/repo-update
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-19 21:02:56 -0700
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-04-19 21:02:56 -0700
commitea23d5dff7b4e99e62ab582429f4a6f8b0263363 (patch)
treeb86b885a63716fdbd5de0d61fb7d5b41b129ab4b /repo-update
parent3ea44b887b3386219c3a9b176f2458fbd522baa7 (diff)
Ready for testing in regular usage
Diffstat (limited to 'repo-update')
-rwxr-xr-xrepo-update13
1 files changed, 7 insertions, 6 deletions
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