X-Git-Url: http://git.onelab.eu/?p=build.git;a=blobdiff_plain;f=fedora-mirror.sh;h=df4385afc121ffa33e2f444126021fc59ec654da;hp=6be3fdfeb31df8ec65350abed371455f4704f846;hb=1f4f80e0c7dc71ef79614227c195139a56d1421e;hpb=a666e2c378c32ff0c002833a7fc151aec318aa55 diff --git a/fedora-mirror.sh b/fedora-mirror.sh index 6be3fdfe..df4385af 100755 --- a/fedora-mirror.sh +++ b/fedora-mirror.sh @@ -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"