From e80d1176597b3d191acfd8e947f9aa01c8770b0f Mon Sep 17 00:00:00 2001 From: monlor Date: Mon, 18 Apr 2022 10:54:06 +0000 Subject: [PATCH] 2022-04-18 18:54:06 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f7a96da..4ca4d0e 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://cdn.jsdelivr.net/gh/monlor/mbfiles" +mburl="${MB_URL:-https://cdn.jsdelivr.net/gh/monlor/mbfiles}" mbtmp="/tmp/mbtmp" [ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp} model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')