From 72af570958191c78a8e09d4aafe6493b543448f4 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 2 Nov 2022 00:42:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=B8=E8=BD=BD=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 ++--- scripts/uninstall.sh | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f72b08cf6..340995ca9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/uninstall.sh b/scripts/uninstall.sh index 2a21215e0..e70657287 100755 --- a/scripts/uninstall.sh +++ b/scripts/uninstall.sh @@ -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 "------------"