attempt to start the network in the f31 vms
[build.git] / fedora-mirror.sh
index 6be3fdf..4ef4239 100755 (executable)
@@ -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"