Fix app updates

This commit is contained in:
AaronDewes 2022-04-07 17:09:23 +00:00
parent ba951feee3
commit 542b686313

View File

@ -13,7 +13,7 @@ if [ "$1" == "stop" ] || [ "$1" == "start" ] || [ "$1" == "install" ] || [ "$1"
for app in "${@:2}"; do
"${NODE_ROOT}/app/app-manager.py" "$1" "$app"
done
elif [ "$1" == "update" ]; then
elif [ "$1" == "update" ] && [[ "$2" != "" ]]; then
for app in "${@:2}"; do
"${NODE_ROOT}/app/app-manager.py" --invoked-by-configure update "$app"
done