diff options
author | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-13 06:00:17 -0500 |
---|---|---|
committer | Joshua Ismael Haase Hernández <hahj87@gmail.com> | 2011-06-13 06:00:17 -0500 |
commit | cd93439c7eb71c380ab0355306a760b7bb5f77ee (patch) | |
tree | f6ce1732375ba2b2fe6f6dae82dd5acb6d21dba3 /repo-update | |
parent | dead95b06c2a547f3cfae6c5acc21859cdd30d97 (diff) |
* repo-update exclude also from ${repodir}/old/packages
Diffstat (limited to 'repo-update')
-rwxr-xr-x | repo-update | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/repo-update b/repo-update index e758cc8..4631627 100755 --- a/repo-update +++ b/repo-update @@ -24,11 +24,14 @@ for repo in ${ARCHREPOS[@]}; do plain "Excluding our packages" find ${repodir}/${repo} -name "*${PKGEXT}" \ -fprintf ${rsync_not_needed} '%f\n' + find ${repodir}/old/packages -name "*${PKGEXT}" \ + -fprintf ${rsync_not_needed}2 '%f\n' # Actual rsync command plain "Syncing..." ${rsync_update_command} \ --exclude-from=${rsync_blacklist} \ --exclude-from=${rsync_not_needed} \ + --exclude-from=${rsync_not_needed}2 \ rsync://${mirror}/${mirrorpath}/${repo}/os/${arch}/ \ ${repodir}/staging/${repo}/ 2&>/dev/null done |