From: S.Çağlar Onur Date: Thu, 10 Mar 2011 17:35:09 +0000 (-0500) Subject: add epel6 X-Git-Tag: 5.0-rc21~64 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=95dd26b71593d0dc2fcb83b3ddac8e9580c0b7ee;p=build.git add epel6 --- diff --git a/vbuild-fedora-mirror.sh b/vbuild-fedora-mirror.sh index d576697c..f1d85d7d 100755 --- a/vbuild-fedora-mirror.sh +++ b/vbuild-fedora-mirror.sh @@ -35,7 +35,7 @@ jp_centos_url="jp_centos_url-needs-to-be-defined" jp_epel_url="jp_epel_url-needs-to-be-defined" default_distroname="centos5.5" -all_distronames="f14 f12 centos5.4 centos5.5 epel5" +all_distronames="f14 f12 centos5.4 centos5.5 epel5 epel6" default_arch="i386" all_archs="i386 x86_64" @@ -71,8 +71,8 @@ function mirror_distro_arch () { distro="CentOS" rsyncurl=$centos_url ;; - epel5) - distroindex=5 + epel[5-6]) + distroindex=$(echo $distroname | sed -e "s,epel,,g") distro=epel rsyncurl=$epel_url ;; @@ -133,7 +133,7 @@ function mirror_distro_arch () { epel*) case $distroindex in - 5) + 5|6) paths="$paths $distroindex/$arch/" RES=0 ;;