mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-10 23:41:27 +00:00
2020-03-05 21:51:11
This commit is contained in:
@@ -11,7 +11,7 @@ logsh "【Tools】" "正在卸载工具箱..."
|
|||||||
|
|
||||||
logsh "【Tools】" "停止所有插件"
|
logsh "【Tools】" "停止所有插件"
|
||||||
|
|
||||||
ls ${mbroot}/apps | while read line
|
ls ${mbroot}/apps 2> /dev/null | while read line
|
||||||
do
|
do
|
||||||
result=$(mbdb get ${line}.main.enable)
|
result=$(mbdb get ${line}.main.enable)
|
||||||
if [ "$result" == '1' ]; then
|
if [ "$result" == '1' ]; then
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ reset() {
|
|||||||
# $3: remote url with token
|
# $3: remote url with token
|
||||||
deploy() {
|
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
|
cd $1
|
||||||
git init
|
git init
|
||||||
|
|||||||
Reference in New Issue
Block a user