summaryrefslogtreecommitdiff
path: root/repo-update
diff options
context:
space:
mode:
Diffstat (limited to 'repo-update')
-rwxr-xr-xrepo-update10
1 files changed, 8 insertions, 2 deletions
diff --git a/repo-update b/repo-update
index 4631627..12c6d0c 100755
--- a/repo-update
+++ b/repo-update
@@ -5,6 +5,14 @@ source $(dirname $0)/config
source $(dirname $0)/local_config
source $(dirname $0)/libremessages
+msg "Updating your-freedom"
+$(dirname $0)/yf-update
+
+msg "Global exclude-list"
+# To not downgrade repos by accident
+find ${repodir}/old/packages -name "*${PKGEXT}" \
+ -fprintf ${rsync_not_needed}2 '%f\n'
+
for repo in ${ARCHREPOS[@]}; do
msg "Syncing ${repo}"
for arch in ${ARCHARCHES[@]} 'any'; do
@@ -24,8 +32,6 @@ 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} \