From 992992d6787b880c2a5259edf159765d2d369b17 Mon Sep 17 00:00:00 2001 From: Moritz Date: Tue, 8 Nov 2022 15:41:37 +0100 Subject: [PATCH] Revert "Automatically install apps specified via env variable." for entrypoint.sh.tmpl This reverts commit 20f0a45baf110a6b5575b2403f6c8cd5dab714c8 for entrypoint.sh.tmpl --- entrypoint.sh.tmpl | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/entrypoint.sh.tmpl b/entrypoint.sh.tmpl index e8fdaba..30d21e8 100644 --- a/entrypoint.sh.tmpl +++ b/entrypoint.sh.tmpl @@ -9,25 +9,4 @@ if ! [[ $(grep {{ env "X_FRAME_OPTIONS_ALLOW_FROM" }} lib/public/AppFramework/Ht fi {{ end }} -run_occ(){ - su -p www-data -s /bin/sh -c "/var/www/html/occ $@" -} - -if [ ! -f /var/www/html/version.php ] -then - # Install nextcloud, without executing php-fpm - sed 's/exec "$@"/#exec "$@"/' -i /entrypoint.sh - /entrypoint.sh php-fpm - sed 's/#exec "$@"/exec "$@"/' -i /entrypoint.sh -fi - -installed=$(run_occ status | grep installed | grep true) -if [[ -n $installed ]] -then - for app in $APPS - do - run_occ "app:install $app" - done -fi - /entrypoint.sh php-fpm