From c14c780d322e7aef14d5f5247a3f833a7af8bcd3 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 17 Sep 2008 14:29:44 +0000 Subject: [PATCH] change european mirror + cosmetic --- vbuild-fedora-mirror.sh | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/vbuild-fedora-mirror.sh b/vbuild-fedora-mirror.sh index 5e951146..47eaadb5 100755 --- a/vbuild-fedora-mirror.sh +++ b/vbuild-fedora-mirror.sh @@ -17,7 +17,9 @@ us_fedora_url=rsync://mirrors.kernel.org/fedora # change this us_centos_url=rsync://mirrors.rit.edu/centos -eu_fedora_url=rsync://ftp-stud.hs-esslingen.de/fedora/linux +# this one is contaminated with the .~tmp~ thing +#eu_fedora_url=rsync://ftp-stud.hs-esslingen.de/fedora/linux +eu_fedora_url=rsync://mirrors.ircam.fr/fedora-linux eu_centos_url=rsync://mirrors.ircam.fr/CentOS # change this @@ -73,15 +75,8 @@ function mirror_distro_arch () { options="$options --exclude $e" done - if [ -n "$verbose" ] ; then - echo "root=$root" - echo "distro=$distroname" - echo "distroname=$distroname" - echo "distroindex=$distroindex" - echo "arch=$arch" - echo rsyncurl="$rsyncurl" - echo "rsync options=$options" - fi + echo ">>>>>>>>>>>>>>>>>>>> root=$root distroname=$distroname arch=$arch rsyncurl=$rsyncurl" + [ -n "$verbose" ] && echo "rsync options=$options" RES=1 paths="" @@ -123,7 +118,7 @@ function mirror_distro_arch () { echo "DISTRIBUTION $distro $distroindex CURRENTLY UNSUPPORTED - skipped" else for repopath in $paths; do - echo "============================== $distro -> $distroindex $repopath" + echo "===== $distro -> $distroindex $repopath" [ -z "$dry_run" ] && mkdir -p ${root}/${localpath}/${repopath} command="rsync $options ${rsyncurl}/${repopath} ${root}/${localpath}/${repopath}" echo $command @@ -131,6 +126,8 @@ function mirror_distro_arch () { done fi + echo "<<<<<<<<<<<<<<<<<<<< $distroname $arch" + return $RES } -- 2.43.0