diff options
-rw-r--r-- | .gitignore | 3 | ||||
-rwxr-xr-x | db-cleanup | 4 | ||||
-rwxr-xr-x | db-update | 2 | ||||
-rw-r--r-- | local_config (renamed from local_config.example) | 17 |
4 files changed, 15 insertions, 11 deletions
@@ -1,10 +1,9 @@ *~ *.pyc -local_config /config.local test/packages/*/*.pkg.tar.?z \#*# .#* yftime src* -pkg*
\ No newline at end of file +pkg* @@ -43,7 +43,7 @@ for _repo in ${PKGREPOS[@]}; do bsdtar tf "${dbfile}" | \ cut -d'/' -f1 | \ sort -u | \ - sed "s|$|*|" >> /tmp/$0.$$.filter + sed "s|$|*|" >> /tmp/${0##*/}.$$.filter done done @@ -54,7 +54,7 @@ for POOL in ${PKGPOOLS[@]} ${SRCPOOLS[@]}; do msg2 "${POOL}" rsync ${EXTRAFLAGS} -va --delete-excluded \ - --include-from="/tmp/$0.$$.filter" \ + --include-from="/tmp/${0##*/}.$$.filter" \ --exclude="*" \ ${FTP_BASE}/${POOL}/ \ ${FTP_BASE}/${POOL}/ @@ -83,4 +83,4 @@ for repo in ${repos[@]}; do done done - +cp -rviT "${STAGING}/other/" "${FTP_BASE}/other/" diff --git a/local_config.example b/local_config index 2280cc2..8f3946a 100644 --- a/local_config.example +++ b/local_config @@ -1,13 +1,18 @@ # Mirror options -mirror="mirrors.eu.kernel.org" -mirrorpath="mirrors/archlinux" +#mirror="mirrors.uk2.net" +mirror="mirrors.kernel.org" +#mirror="mirror.umd.edu" +#mirror="archlinux.c3sl.ufpr.br" +#mirror="mirror.us.leaseweb.net" +#mirror="mirror.de.leaseweb.net" +mirrorpath="archlinux" # Directories: they should end without / -paraboladir=~/parabolagnulinux.org -tempdir=~/tmp +paraboladir=/srv/http/repo/public +tempdir=/tmp archdb=${tempdir}/db docs_dir=${paraboladir}/docs -repodir=${paraboladir}/repo +repodir=${paraboladir} licenses_dir=${docs_dir}/pending_licenses # End Directories @@ -23,4 +28,4 @@ whitelist=${docs_dir}/whitelist.txt # Rsync commands rsync_list_command="rsync -rptgoL --exclude='*.abs.tar.*' --list-only --no-motd " -rsync_update_command="rsync -rptgoL --exclude='*.abs.tar.*' --no-motd " +rsync_update_command="rsync -vrptgoL --exclude='*.abs.tar.*' --no-motd " |