mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2019-01-01
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
#### 一键更新所有插件(请先更新工具箱)
|
||||
|
||||
@@ -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]')
|
||||
|
||||
Reference in New Issue
Block a user