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 "------------"