卸载脚本

This commit is contained in:
2022-11-02 00:42:41 +08:00
parent df0d980d24
commit 72af570958
2 changed files with 5 additions and 3 deletions

View File

@@ -137,7 +137,7 @@ curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/master/scripts
- 卸载脚本
```
curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/master/scripts/uninstall.sh | bash
wget -O uninstall.sh https://raw.githubusercontent.com/midoks/mdserver-web/master/scripts/uninstall.sh && bash uninstall.sh
```
@@ -156,8 +156,7 @@ curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/qu
curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/install_dev.sh | bash
curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/update_dev.sh | bash
curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/uninstall.sh | bash
wget -O uninstall.sh https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/uninstall.sh && bash uninstall.sh
curl -fsSL https://gitee.com/midoks/mdserver-web/raw/master/scripts/install_dev.sh | bash
curl -fsSL https://gitee.com/midoks/mdserver-web/raw/master/scripts/update_dev.sh | bash

View File

@@ -131,6 +131,9 @@ UNINSTALL_REDIS()
UNINSTALL_MW()
{
echo -e "----------------------------------------------------"
echo -e "检查已有mderver-web环境,卸载可能影响现有站点及数据"
echo -e "----------------------------------------------------"
read -p "输入yes强制卸载面板: " yes;
if [ "$yes" != "yes" ];then
echo -e "------------"