2020-05-07 11:45:19

This commit is contained in:
monlor
2020-05-07 11:45:20 +08:00
parent 62d9266963
commit c5e753740c
5 changed files with 25 additions and 17 deletions

View File

@@ -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://gitee.com/monlor/mbfiles/raw/master"
mbtmp="/tmp/mbtmp"
[ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp}
model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')