Update install_dev.sh
This commit is contained in:
parent
8e0d809c5e
commit
9941c9a070
|
|
@ -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!"
|
||||
echo -e "Time consumed:\033[32m $outTime \033[0mMinute!"
|
||||
|
|
|
|||
Loading…
Reference in New Issue