mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
更改coding源地址
This commit is contained in:
@@ -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源一键安装命令
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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]')
|
||||
|
||||
Reference in New Issue
Block a user