Update install_cn.sh

This commit is contained in:
xcsoft 2022-06-25 22:11:57 +08:00 committed by GitHub
parent 20c362ef30
commit f73252dc77
1 changed files with 3 additions and 1 deletions

View File

@ -75,7 +75,9 @@ echo "use system version: ${OSNAME}"
curl -fsSL https://gitee.com/midoks/mdserver-web/raw/master/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
if [ ! -e /usr/bin/mw-cli ]; then
ln -s /www/server/mdserver-web/mw-cli /usr/bin/mw-cli
fi
endTime=`date +%s`
((outTime=(${endTime}-${startTime})/60))