From 0eda450eb9b5088c7f2452dfd3e2a7554076bb49 Mon Sep 17 00:00:00 2001 From: GitHub Workflow Date: Thu, 30 Jun 2022 12:59:37 +0000 Subject: [PATCH] Runs update.sh --- 22/apache/entrypoint.sh | 6 ++++++ 22/fpm-alpine/entrypoint.sh | 6 ++++++ 22/fpm/entrypoint.sh | 6 ++++++ 23/apache/entrypoint.sh | 6 ++++++ 23/fpm-alpine/entrypoint.sh | 6 ++++++ 23/fpm/entrypoint.sh | 6 ++++++ 24/apache/entrypoint.sh | 6 ++++++ 24/fpm-alpine/entrypoint.sh | 6 ++++++ 24/fpm/entrypoint.sh | 6 ++++++ 9 files changed, 54 insertions(+) diff --git a/22/apache/entrypoint.sh b/22/apache/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/22/apache/entrypoint.sh +++ b/22/apache/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@" diff --git a/22/fpm-alpine/entrypoint.sh b/22/fpm-alpine/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/22/fpm-alpine/entrypoint.sh +++ b/22/fpm-alpine/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@" diff --git a/22/fpm/entrypoint.sh b/22/fpm/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/22/fpm/entrypoint.sh +++ b/22/fpm/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@" diff --git a/23/apache/entrypoint.sh b/23/apache/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/23/apache/entrypoint.sh +++ b/23/apache/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@" diff --git a/23/fpm-alpine/entrypoint.sh b/23/fpm-alpine/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/23/fpm-alpine/entrypoint.sh +++ b/23/fpm-alpine/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@" diff --git a/23/fpm/entrypoint.sh b/23/fpm/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/23/fpm/entrypoint.sh +++ b/23/fpm/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@" diff --git a/24/apache/entrypoint.sh b/24/apache/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/24/apache/entrypoint.sh +++ b/24/apache/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@" diff --git a/24/fpm-alpine/entrypoint.sh b/24/fpm-alpine/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/24/fpm-alpine/entrypoint.sh +++ b/24/fpm-alpine/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@" diff --git a/24/fpm/entrypoint.sh b/24/fpm/entrypoint.sh index 309524f6..7dac0df7 100755 --- a/24/fpm/entrypoint.sh +++ b/24/fpm/entrypoint.sh @@ -217,6 +217,12 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP echo "Initializing finished" fi fi + + # Update htaccess after init if requested + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + run_as 'php /var/www/html/occ maintenance:update:htaccess' + fi + fi exec "$@"