X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fedora-mirror.sh;h=4ef4239e6dda1cffc1fa856e0e2af28da746dc09;hb=ccdbfde0e9cda749d790f901247f1c524177c951;hp=e78519f21e10c7dd88b488c8d601b72eb88bf6cb;hpb=031fafbe79b5cd16cacafe2783db9cc822cb675d;p=build.git diff --git a/fedora-mirror.sh b/fedora-mirror.sh index e78519f2..4ef4239e 100755 --- a/fedora-mirror.sh +++ b/fedora-mirror.sh @@ -16,8 +16,8 @@ root=/mirror/ us_fedora_url=rsync://mirrors.kernel.org/fedora eu_fedora_url=rsync://mirror1.hs-esslingen.de/fedora/linux -default_distroname="f29" -all_distronames="f27 f29" +default_distroname="f31" +all_distronames="f29 f31" global_arch="x86_64" @@ -61,6 +61,7 @@ function mirror_distro_arch () { localpath=fedora else paths="$paths updates/$distroindex/Everything/$arch/ updates/$distroindex/Modular/$arch/" + localpath=fedora fi for repopath in $paths; do @@ -68,7 +69,7 @@ function mirror_distro_arch () { [ -z "$dry_run" ] && mkdir -p ${root}/${localpath}/${repopath} command="rsync $options ${rsyncurl}/${repopath} ${root}/${localpath}/${repopath}" echo $command - $command + $command done echo "<<<<<<<<<<<<<<<<<<<< $distroname $arch"