mirroring f10
[build.git] / vbuild-fedora-mirror.sh
index 8f63cae..cf0b7ca 100755 (executable)
@@ -29,7 +29,7 @@ jp_centos_url="jp_centos_url-needs-to-be-defined"
 jp_epel_url="jp_epel_url-needs-to-be-defined"
 
 default_distroname=f8
-all_distronames="f8 f9 centos5.2 epel5"
+all_distronames="f8 f9 f10 centos5.2 epel5"
 default_arch=i386
 all_archs="i386 x86_64"
 
@@ -53,7 +53,7 @@ function mirror_distro_arch () {
            distro="Fedora Core"
            rsyncurl=$fedora_url
            ;;
-       f*[7-9])
+       f*[7-9]|f10)
            distroindex=$(echo $distroname | sed -e "s,f,,g")
            distro="Fedora"
            rsyncurl=$fedora_url
@@ -94,7 +94,7 @@ function mirror_distro_arch () {
                    paths="$paths core/updates/$distroindex/$arch/ extras/$distroindex/$arch/"
                    RES=0
                    ;;
-               7|8|9)
+               7|8|9|10)
                    [ -z "$skip_core" ] && paths="releases/$distroindex/Everything/$arch/os/"
                    paths="$paths updates/$distroindex/$arch/"
                    # f8 and f9 have the additional newkey repo