git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6af3e21
)
add epel6
author
S.Çağlar Onur
<caglar@verivue.com>
Thu, 10 Mar 2011 17:35:09 +0000
(12:35 -0500)
committer
S.Çağlar Onur
<caglar@verivue.com>
Thu, 10 Mar 2011 17:35:09 +0000
(12:35 -0500)
vbuild-fedora-mirror.sh
patch
|
blob
|
history
diff --git
a/vbuild-fedora-mirror.sh
b/vbuild-fedora-mirror.sh
index
d576697
..
f1d85d7
100755
(executable)
--- 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"
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"
default_arch="i386"
all_archs="i386 x86_64"
@@
-71,8
+71,8
@@
function mirror_distro_arch () {
distro="CentOS"
rsyncurl=$centos_url
;;
distro="CentOS"
rsyncurl=$centos_url
;;
- epel
5
)
- distroindex=
5
+ epel
[5-6]
)
+ distroindex=
$(echo $distroname | sed -e "s,epel,,g")
distro=epel
rsyncurl=$epel_url
;;
distro=epel
rsyncurl=$epel_url
;;
@@
-133,7
+133,7
@@
function mirror_distro_arch () {
epel*)
case $distroindex in
epel*)
case $distroindex in
- 5)
+ 5
|6
)
paths="$paths $distroindex/$arch/"
RES=0
;;
paths="$paths $distroindex/$arch/"
RES=0
;;