No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
5 deletions
-
scripts/app
-
scripts/update/01-run.sh
|
|
@ -80,11 +80,12 @@ else |
|
|
|
app_dir="${UMBREL_ROOT}/apps/${app}" |
|
|
|
app_data_dir="${UMBREL_ROOT}/app-data/${app}" |
|
|
|
if [[ "${app}" == "installed" ]]; then |
|
|
|
list_installed_apps | while read app; do |
|
|
|
for app in $(list_installed_apps); do |
|
|
|
if [[ "${app}" != "" ]]; then |
|
|
|
"${0}" "${1}" "${app}" "${@:3}" || true |
|
|
|
"${0}" "${1}" "${app}" "${@:3}" & |
|
|
|
fi |
|
|
|
done |
|
|
|
wait |
|
|
|
exit |
|
|
|
fi |
|
|
|
if [[ -z "${app}" ]] || [[ ! -d "${app_dir}" ]]; then |
|
|
|
|
|
@ -106,12 +106,13 @@ USER_FILE="${UMBREL_ROOT}/db/user.json" |
|
|
|
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 |
|
|
|
for app in $(list_installed_apps); do |
|
|
|
if [[ "${app}" != "" ]]; then |
|
|
|
echo "${app}..." |
|
|
|
scripts/app compose "${app}" pull |
|
|
|
scripts/app compose "${app}" pull & |
|
|
|
fi |
|
|
|
done |
|
|
|
wait |
|
|
|
|
|
|
|
# Stop existing containers |
|
|
|
echo "Stopping existing containers" |
|
|
|