From 00be03963f4376cc94503f00a5d4669b2fa3b5f2 Mon Sep 17 00:00:00 2001 From: J0WI Date: Sat, 20 Jul 2024 14:51:42 +0200 Subject: [PATCH] Remove unecessary app logic (fix #1213) --- docker-entrypoint.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 4e06fcc4..1f3e47a4 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -163,7 +163,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP exit 1 fi echo "Upgrading nextcloud from $installed_version ..." - run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_before fi if [ "$(id -u)" = 0 ]; then rsync_options="-rlDog --chown $user:$group" @@ -258,12 +257,6 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP run_path pre-upgrade run_as 'php /var/www/html/occ upgrade' - - run_as 'php /var/www/html/occ app:list' | sed -n "/Enabled:/,/Disabled:/p" > /tmp/list_after - echo "The following apps have been disabled:" - diff /tmp/list_before /tmp/list_after | grep '<' | cut -d- -f2 | cut -d: -f1 - rm -f /tmp/list_before /tmp/list_after - run_path post-upgrade fi