From 3e887cfdc658e2b4516a56080b97c7fd7074456e Mon Sep 17 00:00:00 2001 From: monlor Date: Mon, 18 Apr 2022 18:51:26 +0800 Subject: [PATCH] Update install.sh --- 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]')