2020-07-19 09:44:25

This commit is contained in:
monlor
2020-07-19 09:44:25 +08:00
parent 0d060130ec
commit 1385605f7e
2 changed files with 4 additions and 3 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/lfs/master"
mburl="https://cdn.jsdelivr.net/gh/monlor/mbfiles"
mbtmp="/tmp/mbtmp"
[ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp}
model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')