diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2020-04-24 10:49:37 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2020-04-24 10:49:37 -0700 |
commit | 2ad13e99a19d9e74099409025e5aea57cb045f7c (patch) | |
tree | 6ac41b7541cb0f0bcdb540895480eb46d2f9e5ca /sync-autobuilds.sh | |
parent | snapshots-create: fix missing continuation (diff) | |
download | mastermirror-scripts-2ad13e99a19d9e74099409025e5aea57cb045f7c.tar.gz mastermirror-scripts-2ad13e99a19d9e74099409025e5aea57cb045f7c.tar.bz2 mastermirror-scripts-2ad13e99a19d9e74099409025e5aea57cb045f7c.zip |
sync-autobuilds.sh: be quieter
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
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)" |