diff --git a/README.md b/README.md index 17c7048..3f6853e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,8 @@ * 2020-05-07 * 更换gitee为默认源 + * coding更换lfs储存方式的文件地址,导致工具箱下载源失效 + * **注意安装命令已更换** * 2020-05-04 @@ -125,7 +127,7 @@ #### 一键安装 ``` shell -sh -c "$(curl -kfsSl https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/master/install.sh)" && source /etc/profile &> /dev/null +sh -c "$(curl -kfsSl https://monlor.coding.net/p/mbfiles/d/mbfiles/git/lfs/master/install.sh)" && source /etc/profile &> /dev/null ``` #### github源一键安装命令 diff --git a/apps/mixbox/bin/base b/apps/mixbox/bin/base index c92beb9..48580f0 100644 --- a/apps/mixbox/bin/base +++ b/apps/mixbox/bin/base @@ -2,7 +2,7 @@ #copyright by monlor export PATH=$PATH:/etc/mixbox/bin -mburl_coding="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/raw/master" +mburl_coding="https://monlor.coding.net/p/mbfiles/d/mbfiles/git/lfs/master" mburl_github="https://raw.githubusercontent.com/monlor/mbfiles/master" mburl_gitee="https://gitee.com/monlor/mbfiles/raw/master" mburl=$(mbdb get mixbox.main.url) || mburl="$mburl_gitee" diff --git a/apps/mixbox/config/mixbox.uci b/apps/mixbox/config/mixbox.uci index 24941fb..f36ece5 100644 --- a/apps/mixbox/config/mixbox.uci +++ b/apps/mixbox/config/mixbox.uci @@ -4,4 +4,4 @@ needver="" supports="linux_arm,linux_mips,linux_x86_64" appinfo="一款支持多平台,多架构的Shell工具箱" newinfo="修复插件列表为空的bug" -version="0.1.9.9" +version="0.1.9.10" diff --git a/install.sh b/install.sh index 71d724c..d77c84f 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/lfs/master" mbtmp="/tmp/mbtmp" [ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp} model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')