2019-01-01

This commit is contained in:
monlor
2019-01-01 14:17:25 +08:00
parent a022d21bab
commit d8c1a6d003
2 changed files with 3 additions and 3 deletions

View File

@@ -53,13 +53,13 @@
#### 一键安装
``` shell
sh -c "$(curl -kfsSl https://qcloud.coding.net/u/monlor/p/MIXBOX/git/raw/master/install.sh)" && source /etc/profile &> /dev/null
sh -c "$(curl -kfsSl https://dev.tencent.com/u/monlor/p/MIXBOX/git/raw/master/install.sh)" && source /etc/profile &> /dev/null
```
#### 卸载`Monlor Tools`工具箱
``` shell
sh -c "$(curl -kfsSl https://qcloud.coding.net/u/monlor/p/MIXBOX-BETA/git/raw/master/temp/uninstall_old.sh)" && source /etc/profile &> /dev/null
sh -c "$(curl -kfsSl https://dev.tencent.com/u/monlor/p/MIXBOX/git/raw/master/temp/uninstall_old.sh)" && source /etc/profile &> /dev/null
```
#### 一键更新所有插件(请先更新工具箱)

View File

@@ -17,7 +17,7 @@ logsh "【Tools】" "请按任意键安装工具箱(Ctrl + C 退出)."
read answer
#check root
# [ "$USER" != "root" ] && logsh "【Tools】" "请使用root用户安装工具箱" && exit 1
mburl="https://dev.tencent.com/u/monlor/p/MIXBOX-BETA/git/raw/master"
mburl="https://raw.githubusercontent.com/MIXBOX/master"
mbtmp="/tmp/mbtmp"
[ ! -d "${mbtmp}" ] && mkdir -p ${mbtmp}
model=$(uname -ms | tr ' ' '_' | tr '[A-Z]' '[a-z]')