This commit is contained in:
dami
2026-04-03 03:09:19 +08:00
parent 0ec2764369
commit 57ddcb47f2
6 changed files with 12 additions and 22 deletions
+2 -3
View File
@@ -183,10 +183,9 @@ Uninstall_openresty()
}
action=$1
if [ "${1}" == "upgrade" ];then
if [ "${1}" == "install" ];then
Install_openresty
fi
if [ "${1}" == 'install' ];then
elif [ "${1}" == "upgrade" ];then
Install_openresty
else
Uninstall_openresty
+2 -3
View File
@@ -183,10 +183,9 @@ Uninstall_openresty()
}
action=$1
if [ "${1}" == "upgrade" ];then
if [ "${1}" == "install" ];then
Install_openresty
fi
if [ "${1}" == 'install' ];then
elif [ "${1}" == "upgrade" ];then
Install_openresty
else
Uninstall_openresty
+2 -4
View File
@@ -182,11 +182,9 @@ Uninstall_openresty()
}
action=$1
if [ "${1}" == "upgrade" ];then
if [ "${1}" == "install" ];then
Install_openresty
fi
if [ "${1}" == 'install' ];then
elif [ "${1}" == "upgrade" ];then
Install_openresty
else
Uninstall_openresty
+2 -4
View File
@@ -197,11 +197,9 @@ Uninstall_openresty()
}
action=$1
if [ "${1}" == "upgrade" ];then
if [ "${1}" == "install" ];then
Install_openresty
fi
if [ "${1}" == 'install' ];then
elif [ "${1}" == "upgrade" ];then
Install_openresty
else
Uninstall_openresty
+2 -4
View File
@@ -188,11 +188,9 @@ Uninstall_openresty()
}
action=$1
if [ "${1}" == "upgrade" ];then
if [ "${1}" == "install" ];then
Install_openresty
fi
if [ "${1}" == 'install' ];then
elif [ "${1}" == "upgrade" ];then
Install_openresty
else
Uninstall_openresty
+2 -4
View File
@@ -193,12 +193,10 @@ Uninstall_openresty()
}
action=$1
if [ "${1}" == "upgrade" ];then
Install_openresty
fi
if [ "${1}" == "install" ];then
Install_openresty
elif [ "${1}" == "upgrade" ];then
Install_openresty
else
Uninstall_openresty
fi