2020-03-05 21:51:11

This commit is contained in:
monlor
2020-03-05 21:51:11 +08:00
parent 7d1da6b1bf
commit fd58755c7e
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ logsh "【Tools】" "正在卸载工具箱..."
logsh "【Tools】" "停止所有插件"
ls ${mbroot}/apps | while read line
ls ${mbroot}/apps 2> /dev/null | while read line
do
result=$(mbdb get ${line}.main.enable)
if [ "$result" == '1' ]; then

View File

@@ -104,7 +104,7 @@ reset() {
# $3: remote url with token
deploy() {
sed -Ei "s#mbfiles/raw/[a-z]+#mbfiles/raw/$2#" $1/install.sh
sed -Ei "s#mbfiles/git/raw/[a-z]+#mbfiles/git/raw/$2#" $1/install.sh
cd $1
git init