summaryrefslogtreecommitdiff
path: root/repo-update
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-13 08:12:18 -0700
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-13 08:12:18 -0700
commitaf00a528573bb210260e20a0fa27a0a0a393244a (patch)
tree13f722f5779e796ccc28ee363d5bf87d045cf34b /repo-update
parent436fcd89bf7721f54a359842b4741bc67825411c (diff)
* Fixed issue131
* Fixed issue53
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} \