Update install.sh

This commit is contained in:
midoks
2020-06-28 13:49:06 +08:00
parent 88cba166ee
commit f542481007
-12
View File
@@ -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}