mirror of
https://github.com/teddysun/across.git
synced 2025-01-31 12:19:35 +08:00
update ELRepo URL
This commit is contained in:
parent
673cd45162
commit
25b6f3f910
4
bbr.sh
4
bbr.sh
@ -120,9 +120,9 @@ install_elrepo() {
|
|||||||
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
|
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
|
||||||
|
|
||||||
if centosversion 6; then
|
if centosversion 6; then
|
||||||
rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm
|
rpm -Uvh http://www.elrepo.org/elrepo-release-6-8.el6.elrepo.noarch.rpm
|
||||||
elif centosversion 7; then
|
elif centosversion 7; then
|
||||||
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm
|
rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -f /etc/yum.repos.d/elrepo.repo ]; then
|
if [ ! -f /etc/yum.repos.d/elrepo.repo ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user