Update install.sh

This commit is contained in:
dami
2026-04-03 03:14:47 +08:00
parent e51e2dfe27
commit 70005b3b82
+4 -2
View File
@@ -20,8 +20,10 @@ openrestyDir=${serverPath}/source/openresty
Install_openresty()
{
if [ -d $serverPath/openresty ];then
exit 0
if [ "${1}" == "upgrade" ];then
if [ -d $serverPath/openresty ];then
exit 0
fi
fi
# ----- cpu start ------