2020-03-07 11:01:26

This commit is contained in:
monlor
2020-03-07 11:01:26 +08:00
parent 67c67c8151
commit 9f55f7a80a
2 changed files with 4 additions and 4 deletions

View File

@@ -336,8 +336,8 @@ select_app() {
[ "$update" == '1' ] && ${mbroot}/scripts/appmanage.sh upgrade ${appname}
fi
# todo 配置方式修改
if [ -f ${mbroot}/apps/${appname}/config.sh ]; then
${mbroot}/apps/${appname}/config.sh
if [ -f ${mbroot}/apps/${appname}/scripts/config.sh ]; then
${mbroot}/apps/${appname}/scripts/config.sh
if [ $? -eq 0 ]; then
${mbroot}/apps/${appname}/scripts/${appname}.sh restart
else