From 79d069dcd3d61ba3403c5c22d886536bb16cca19 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Wed, 31 Jul 2019 17:34:32 +0800 Subject: [PATCH] Update install_centos.sh --- scripts/install_centos.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/install_centos.sh b/scripts/install_centos.sh index 844f91f39..d3ad41363 100755 --- a/scripts/install_centos.sh +++ b/scripts/install_centos.sh @@ -19,9 +19,12 @@ fi setenforce 0 sed -i 's#SELINUX=disabled#SELINUX=enforcing#g' /etc/selinux/config -yum install -y wget curl curl-devel +yum install -y wget curl curl-devel vixie-cron #https need -curl https://get.acme.sh | sh + +if [ ! -f /root/.acme.sh ];then + curl https://get.acme.sh | sh +fi if [ -f "/etc/init.d/iptables" ];then