diff --git a/README.md b/README.md index 2d1b534..76f67e8 100644 --- a/README.md +++ b/README.md @@ -127,7 +127,7 @@ applist installed -n | while read line; do mixbox upgrade $line; done * `git clone https://github.com/monlor/MIXBOX.git` * `cd MIXBOX/` -* `chmod +x ./tools/\*.sh` +* `chmod +x ./tools/*.sh` * `./tools/newapp.sh [插件名] [插件服务名] [插件介绍]` * 修改插件脚本和配置文件 * `./tools/gitsync.sh pack [插件名] [-v]` diff --git a/install.sh b/install.sh index 1178c36..3cc904b 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://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]')