X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fedora-mirror.sh;h=4ef4239e6dda1cffc1fa856e0e2af28da746dc09;hb=ccdbfde0e9cda749d790f901247f1c524177c951;hp=6be3fdfeb31df8ec65350abed371455f4704f846;hpb=a666e2c378c32ff0c002833a7fc151aec318aa55;p=build.git diff --git a/fedora-mirror.sh b/fedora-mirror.sh index 6be3fdfe..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" @@ -60,7 +60,8 @@ function mirror_distro_arch () { paths="$paths updates/$distroindex/$arch/" localpath=fedora else - paths="$paths updates/$distroindex/Everything/$arch updates/$distroindex/Modular/$arch" + 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"