From 74816c5c0eef2b173b244f0abf7a9a059a16a03a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 4 Dec 2007 05:48:50 +0000 Subject: [PATCH] rsync --no-motd when available --- vbuild-fedora-mirror.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/vbuild-fedora-mirror.sh b/vbuild-fedora-mirror.sh index 50421f54..fbceaf2e 100755 --- a/vbuild-fedora-mirror.sh +++ b/vbuild-fedora-mirror.sh @@ -58,6 +58,7 @@ esac excludelist="debug/ iso/ ppc/ source/" options="--archive --compress --delete --delete-excluded $dry_run $verbose" +[ -n "$(rsync --help | grep no-motd)" ] && options="$options --no-motd" for e in $excludelist; do options="$options --exclude $e" done -- 2.43.0