diff --git a/AutoPing.sh b/AutoPing.sh index 63042d1..16b5c3c 100644 --- a/AutoPing.sh +++ b/AutoPing.sh @@ -22,7 +22,7 @@ selectAction() { echo -e "${GREEN} \ 直接回车一起安装 / ${PLAIN}" echo -e "${GREEN} ========================================================= ${PLAIN}" echo -e "${YELLOW} System requirements: ${PLAIN}${RED}CentOS 7${PLAIN}${YELLOW} or ${PLAIN}${RED}Ubuntu 20.04${PLAIN}${YELLOW}. ${PLAIN}" - echo -e "${YELLOW} Version: ${PLAIN}${GREEN}1.0.6${PLAIN}${YELLOW} (23 Mar. 2022) ${PLAIN}" + echo -e "${YELLOW} Version: ${PLAIN}${GREEN}1.0.7${PLAIN}${YELLOW} (26 Mar. 2022) ${PLAIN}" echo -e "${YELLOW} Copyright (C) 2021 liveJQ cloud@livejq.fun ${PLAIN}" echo "" read -rp "请输入数字选择:" num @@ -64,7 +64,8 @@ EOF updateCe() { mv /etc/yum.repos.d/* /tmp/ -curl -o /etc/yum.repos.d/centos7.repo http://mirrors.aliyun.com/repo/Centos-7.repo +wget -O /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo +wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo yum -y install epel-release yum clean all && yum repolist }