From 679b3efe3c5c5bfdfe88a58347b0adb2bc02fa39 Mon Sep 17 00:00:00 2001 From: wzj <244142824@qq.com> Date: Sun, 11 Dec 2022 17:58:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=98=BF=E9=87=8C=E6=BA=90?= =?UTF-8?q?=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- newset.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/newset.sh b/newset.sh index 58e5bfd..7e76f55 100644 --- a/newset.sh +++ b/newset.sh @@ -26,11 +26,14 @@ for i in `ls /etc/yum.repos.d|grep -v bak` do \mv /etc/yum.repos.d/${i} /etc/yum.repos.d/bak/${DATE} done -wget http://mirrors.aliyun.com/repo/Centos-7.repo -O /etc/yum.repos.d/CentOS-Base.repo -wget http://mirrors.aliyun.com/repo/Centos-7.repo -P /etc/yum.repos.d/ -wget http://mirrors.aliyun.com/repo/epel-7.repo -P /etc/yum.repos.d/ +#wget http://mirrors.aliyun.com/repo/Centos-7.repo -O /etc/yum.repos.d/CentOS-Base.repo +#wget http://mirrors.aliyun.com/repo/Centos-7.repo -P /etc/yum.repos.d/ +#wget http://mirrors.aliyun.com/repo/epel-7.repo -P /etc/yum.repos.d/ +wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo +wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo yum clean all yum makecache +yum install -y epel-release } TOOL_INSTALL()