From cd93439c7eb71c380ab0355306a760b7bb5f77ee Mon Sep 17 00:00:00 2001 From: Joshua Ismael Haase Hernández Date: Mon, 13 Jun 2011 06:00:17 -0500 Subject: * repo-update exclude also from ${repodir}/old/packages --- repo-update | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-54-g00ecf