Skip to content

Commit

Permalink
address review
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>

Co-authored-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
  • Loading branch information
szaimen and joshtrichards authored Jun 11, 2024
1 parent 7bdd515 commit 7c97d66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Containers/nextcloud/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
declare -Ag APPSTORAGE
echo "Disabling apps before the update in order to make the update procedure more safe. This can take a while..."
for app in "${NC_APPS_ARRAY[@]}"; do
if php /var/www/html/occ config:app:get "$app" enabled >/dev/null; then
APPSTORAGE[$app]="$(php /var/www/html/occ config:app:get "$app" enabled)"
if APPSTORAGE[$app]="$(php /var/www/html/occ config:app:get "$app" enabled)"; then
php /var/www/html/occ app:disable "$app"
else
APPSTORAGE[$app]=""
Expand Down

0 comments on commit 7c97d66

Please sign in to comment.