From 0561a604afb86dacd3c47c8e22efd4b147f41c3e Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 10 Jun 2022 16:27:13 +0800 Subject: [PATCH] Update centos.sh --- scripts/install/centos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/centos.sh b/scripts/install/centos.sh index 2a5a3d3f6..5256f28d4 100755 --- a/scripts/install/centos.sh +++ b/scripts/install/centos.sh @@ -22,7 +22,7 @@ sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/config yum install -y wget curl vixie-cron lsof #https need -if [ ! -f /root/.acme.sh ];then +if [ ! -d /root/.acme.sh ];then curl https://get.acme.sh | sh fi