更改coding源地址

This commit is contained in:
monlor
2020-05-07 15:46:59 +08:00
parent cb3e691784
commit 4a3b3ea8a8
4 changed files with 6 additions and 4 deletions

View File

@@ -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源一键安装命令

View File

@@ -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"

View File

@@ -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"

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://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]')