From 6f2cc030449261a4df010e70e8c641469dd941cc Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Mon, 2 Dec 2024 03:54:47 +0800 Subject: [PATCH] Update ubuntu.sh --- scripts/update/ubuntu.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/update/ubuntu.sh b/scripts/update/ubuntu.sh index 74da1d9d9..1ee4def96 100644 --- a/scripts/update/ubuntu.sh +++ b/scripts/update/ubuntu.sh @@ -17,6 +17,9 @@ chmod 755 /www/server/mdserver-web/data if [ -f /etc/rc.d/init.d/mw ];then + if [ -f /usr/bin/mw ];then + rm -rf /usr/bin/mw + fi bash /etc/rc.d/init.d/mw stop && rm -rf /www/server/mdserver-web/scripts/init.d/mw && rm -rf /etc/rc.d/init.d/mw fi