summaryrefslogtreecommitdiff
path: root/repo-update
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-19 11:01:07 -0700
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-19 11:01:07 -0700
commit9bcf313647a3dd4ae44016894b1fe599d1f90c18 (patch)
tree91ae1c702e07ecc90ce58cc6292b343c8b26b6ee /repo-update
parent7e8840e0a76d28c27ed7efc041106d338ca0c607 (diff)
Config file updated, use old repo-update
Diffstat (limited to 'repo-update')
-rwxr-xr-xrepo-update17
1 files changed, 2 insertions, 15 deletions
diff --git a/repo-update b/repo-update
index 12c6d0c..a44ae87 100755
--- a/repo-update
+++ b/repo-update
@@ -5,41 +5,28 @@ 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
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} 2&>/dev/null
+ ${repodir}/staging/${repo}/ > ${rsout_file}
# 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} \
- --exclude-from=${rsync_not_needed}2 \
rsync://${mirror}/${mirrorpath}/${repo}/os/${arch}/ \
- ${repodir}/staging/${repo}/ 2&>/dev/null
+ ${repodir}/staging/${repo}/
done
for arch in ${ARCHARCHES[@]}; do
msg2 "Making pending list for $repo $arch"