From f54248100723c5c21d6f5dce354f5f8a4c7d5b26 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 28 Jun 2020 13:49:06 +0800 Subject: [PATCH] Update install.sh --- plugins/openresty/install.sh | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/plugins/openresty/install.sh b/plugins/openresty/install.sh index d824eb56a..ac80d1c2e 100755 --- a/plugins/openresty/install.sh +++ b/plugins/openresty/install.sh @@ -23,18 +23,6 @@ else useradd -g www -s /sbin/nologin www fi -if [ "${2}" == "" ];then - echo '缺少安装脚本...' > $install_tmp - exit 0 -fi - -if [ ! -d $curPath/versions/$2 ];then - echo '缺少安装脚本2...' > $install_tmp - exit 0 -fi - - - Install_openresty() { mkdir -p ${openrestyDir}