Browse Source

Check for empty value before pulling app (#369)

dashboard-0.3.14
Mayank Chhabra 4 years ago
committed by GitHub
parent
commit
549f9850b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      scripts/update/01-run.sh

6
scripts/update/01-run.sh

@ -93,8 +93,10 @@ list_installed_apps() {
cat "${USER_FILE}" 2> /dev/null | jq -r 'if has("installedApps") then .installedApps else [] end | join("\n")' || true
}
list_installed_apps | while read app; do
echo "${app}..."
scripts/app compose "${app}" pull
if [[ "${app}" != "" ]]; then
echo "${app}..."
scripts/app compose "${app}" pull
fi
done
# Stop existing containers

Loading…
Cancel
Save