From a8225dc930477a63d1fc769840aeca8e54214567 Mon Sep 17 00:00:00 2001 From: newrain001 Date: Mon, 22 Apr 2024 21:40:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'os/get-mysql.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- os/get-mysql.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/os/get-mysql.sh b/os/get-mysql.sh index 1a97b2c..1223d3c 100644 --- a/os/get-mysql.sh +++ b/os/get-mysql.sh @@ -30,9 +30,7 @@ rm -rvf /etc/my.cnf /var/lib/mysql /var/log/mysql* userdel -rf mysql &>/dev/null ping -c1 -w1 www.baidu.com &>/dev/null if [[ $? -eq 0 ]];then - if [ ! -f /tmp/.init ];then - yum install -y https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm - fi + yum install -y https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm else color Error "网络错误" exit 22