Update install_dev.sh

pull/109/head
xcsoft 3 years ago committed by GitHub
parent 8e0d809c5e
commit 9941c9a070
  1. 5
      scripts/install_dev.sh

@ -73,10 +73,11 @@ if [ $OSNAME != "macos" ];then
fi fi
echo "use system version: ${OSNAME}" echo "use system version: ${OSNAME}"
curl -fsSL https://raw.githubusercontent.com/midoks/mdserver-web/dev/scripts/install/${OSNAME}.sh | bash 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` endTime=`date +%s`
((outTime=(${endTime}-${startTime})/60)) ((outTime=(${endTime}-${startTime})/60))
echo -e "Time consumed:\033[32m $outTime \033[0mMinute!" echo -e "Time consumed:\033[32m $outTime \033[0mMinute!"

Loading…
Cancel
Save