mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
update
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user