From 9941c9a0701412e25c5c8edcc58d8efcba01e65d Mon Sep 17 00:00:00 2001 From: xcsoft Date: Thu, 23 Jun 2022 16:04:08 +0800 Subject: [PATCH] Update install_dev.sh --- scripts/install_dev.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install_dev.sh b/scripts/install_dev.sh index 37462fa8b..883e31456 100755 --- a/scripts/install_dev.sh +++ b/scripts/install_dev.sh @@ -73,10 +73,11 @@ if [ $OSNAME != "macos" ];then fi echo "use system version: ${OSNAME}" - curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/install/${OSNAME}.sh | bash +chmod +x /www/server/mdserver-web/mw-cli +ln -s /www/server/mdserver-web/mw-cli /usr/bin/mw-cli endTime=`date +%s` ((outTime=(${endTime}-${startTime})/60)) -echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" \ No newline at end of file +echo -e "Time consumed:\033[32m $outTime \033[0mMinute!"