diff options
Diffstat (limited to 'sync-autobuilds.sh')
-rwxr-xr-x | sync-autobuilds.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sync-autobuilds.sh b/sync-autobuilds.sh index 90161ba..7d4802b 100755 --- a/sync-autobuilds.sh +++ b/sync-autobuilds.sh @@ -6,7 +6,7 @@ ARCHES="alpha amd64 arm hppa ia64 ppc s390 sh sparc x86" # The -rp_*asc filter rules causes rsync to only delete .asc files that are in # directories that would otherwise be deleted. -RSYNC_OPTS="-aO --password-file=/etc/mastermirror-fetch/poseidon-rsync.passwd --delete --delete-delay --timeout=600 --exclude='.*' --filter=-rp_*.asc" +RSYNC_OPTS="-aO --password-file=/etc/mastermirror-fetch/poseidon-rsync.passwd --delete --delete-delay --timeout=600 --exclude='.*' --filter=-rp_*.asc --no-motd" # Do NOT expand the following yet #_SRC='masterdistfiles@poseidon.amd64.dev.gentoo.org::weekly/${ARCH}/' @@ -26,7 +26,11 @@ DEBUGP= VERBOSEP= [ -n "$DEBUG" ] && DEBUGP=echo [ -n "$DEBUG" ] && RSYNC_OPTS="${RSYNC_OPTS} -n" -[ -n "$VERBOSE" ] && RSYNC_OPTS="${RSYNC_OPTS} -v" +if [ -n "$VERBOSE" ]; then + RSYNC_OPTS="${RSYNC_OPTS} -v" +else + RSYNC_OPTS="${RSYNC_OPTS} -q" +fi for ARCH in $ARCHES ; do src="$(eval echo $_SRC)" |