diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-10 16:06:11 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-10 16:06:11 -0500 |
commit | 303dba7c0ab15cd4e726fe3f72ccf8347df84d10 (patch) | |
tree | ad6fc8f175e482399cf6ce6325f1d0b708010799 /repo-update | |
parent | 8766129748c8ad165b4245f53df1a2466be30848 (diff) |
* repo-add only extract license if package has "custom" license.
* repo-remove hardlink to repo-add.
* repo-update has some more info output and do not display rsync errors.
Diffstat (limited to 'repo-update')
-rwxr-xr-x | repo-update | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/repo-update b/repo-update index a44ae87..e758cc8 100755 --- a/repo-update +++ b/repo-update @@ -10,23 +10,27 @@ for repo in ${ARCHREPOS[@]}; do for arch in ${ARCHARCHES[@]} 'any'; do msg2 "${repo} ${arch}" # makes a file containing rsync output for filter.py + plain "Checking packages..." ${rsync_list_command} \ rsync://${mirror}/${mirrorpath}/${repo}/os/${arch}/ \ - ${repodir}/staging/${repo}/ > ${rsout_file} + ${repodir}/staging/${repo}/ > ${rsout_file} 2&>/dev/null # reads blacklist and rsout_file and makes an rsync exclude-from # list + plain "Excluding nonfree..." filter.py -r ${rsync_blacklist} -k ${blacklist} \ -f ${rsout_file} # list files in ${repodir}/${repo} and write their names on # rsync_not_needed for using as an rsync exclude-from + plain "Excluding our packages" find ${repodir}/${repo} -name "*${PKGEXT}" \ -fprintf ${rsync_not_needed} '%f\n' # Actual rsync command + plain "Syncing..." ${rsync_update_command} \ --exclude-from=${rsync_blacklist} \ --exclude-from=${rsync_not_needed} \ rsync://${mirror}/${mirrorpath}/${repo}/os/${arch}/ \ - ${repodir}/staging/${repo}/ + ${repodir}/staging/${repo}/ 2&>/dev/null done for arch in ${ARCHARCHES[@]}; do msg2 "Making pending list for $repo $arch" |