diff options
author | GitHub Workflow <workflow@github.com> | 2022-06-30 12:59:37 +0000 |
---|---|---|
committer | GitHub Workflow <workflow@github.com> | 2022-06-30 12:59:37 +0000 |
commit | 0eda450eb9b5088c7f2452dfd3e2a7554076bb49 (patch) | |
tree | d6aabccfd432b97a3c8a0c38a131632eafb0b012 | |
parent | 209d65d0b6a5c50d66b538169545628658810ab6 (diff) |
Runs update.sh
-rwxr-xr-x | 22/apache/entrypoint.sh | 6 | ||||
-rwxr-xr-x | 22/fpm-alpine/entrypoint.sh | 6 | ||||
-rwxr-xr-x | 22/fpm/entrypoint.sh | 6 | ||||
-rwxr-xr-x | 23/apache/entrypoint.sh | 6 | ||||
-rwxr-xr-x | 23/fpm-alpine/entrypoint.sh | 6 | ||||
-rwxr-xr-x | 23/fpm/entrypoint.sh | 6 | ||||
-rwxr-xr-x | 24/apache/entrypoint.sh | 6 | ||||
-rwxr-xr-x | 24/fpm-alpine/entrypoint.sh | 6 | ||||
-rwxr-xr-x | 24/fpm/entrypoint.sh | 6 |
9 files changed, 54 insertions, 0 deletions
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 "$@" |