mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 06:26:57 +00:00
address review
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>
This commit is contained in:
parent
7bdd51554a
commit
7c97d66579
1 changed files with 1 additions and 2 deletions
|
|
@ -162,8 +162,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
|
||||||
declare -Ag APPSTORAGE
|
declare -Ag APPSTORAGE
|
||||||
echo "Disabling apps before the update in order to make the update procedure more safe. This can take a while..."
|
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
|
for app in "${NC_APPS_ARRAY[@]}"; do
|
||||||
if php /var/www/html/occ config:app:get "$app" enabled >/dev/null; then
|
if APPSTORAGE[$app]="$(php /var/www/html/occ config:app:get "$app" enabled)"; then
|
||||||
APPSTORAGE[$app]="$(php /var/www/html/occ config:app:get "$app" enabled)"
|
|
||||||
php /var/www/html/occ app:disable "$app"
|
php /var/www/html/occ app:disable "$app"
|
||||||
else
|
else
|
||||||
APPSTORAGE[$app]=""
|
APPSTORAGE[$app]=""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue