diff --git a/install.sh b/install.sh index 8674eb7..e75e8f2 100644 --- a/install.sh +++ b/install.sh @@ -17,7 +17,7 @@ logsh "【Tools】" "请按任意键安装工具箱(Ctrl + C 退出)." read answer #check root # [ "$USER" != "root" ] && logsh "【Tools】" "请使用root用户安装工具箱!" && exit 1 -mburl="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/master" +mburl="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/master" mbtmp="/tmp/mbtmp" [ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp} model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')