summaryrefslogtreecommitdiff
path: root/repo-update
diff options
context:
space:
mode:
Diffstat (limited to 'repo-update')
-rwxr-xr-xrepo-update19
1 files changed, 10 insertions, 9 deletions
diff --git a/repo-update b/repo-update
index 495f515..9b36d75 100755
--- a/repo-update
+++ b/repo-update
@@ -8,21 +8,22 @@ source ./libremessages
for repo in ${PKGREPOS[@]}; do
for arch in ${ARCHES[@]} 'any'; do
msg "Syncing ${repo} ${arch}"
- python filter.py -r "${rsync_blacklist}" -k "${blacklist}" -c \
- \"${rsync_list_command}\ \
- ${mirror}${mirrorpath}/${repo}/os/${arch}\ \
- ${repodir}/${repo}/\"
- find ${repodir}/${repo} -name *${PKGEXT} -print \
- > ${rsync_not_needed}
+ ${rsync_list_command} \
+ ${mirror}::${mirrorpath}/${repo}/os/${arch}/ \
+ ${repodir}/${repo}/ > ${rsout_file}
+ filter.py -r ${rsync_blacklist} -k ${blacklist} \
+ -f ${rsout_file}
+ find ${repodir}/${repo} -name *${PKGEXT} \
+ -fprint ${rsync_not_needed}
${rsync_update_command} \
- ${mirror}${mirrorpath}/${repo}/os/${arch} \
- ${repodir}/${repo} \
--exclude-from=${rsync_blacklist} \
--exclude-from=${rsync_not_needed}
+ ${mirror}::${mirrorpath}/${repo}/os/${arch}/ \
+ ${repodir}/${repo}/
done
for arch in ${ARCHES[@]}; do
if [ -r ${repodir}/${repo}/os/${arch}/${repo}${DBEXT} ]; then
- python clean_repo.py -k ${blacklist} -w ${whitelist} \
+ clean_repo.py -k ${blacklist} -w ${whitelist} \
-p ${docs_dir}/pending-${repo} \
-b ${repodir}/${repo}/${repo}${DBEXT}
fi