summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGitHub Workflow <workflow@github.com>2022-06-30 12:59:37 +0000
committerGitHub Workflow <workflow@github.com>2022-06-30 12:59:37 +0000
commit0eda450eb9b5088c7f2452dfd3e2a7554076bb49 (patch)
treed6aabccfd432b97a3c8a0c38a131632eafb0b012
parent209d65d0b6a5c50d66b538169545628658810ab6 (diff)
Runs update.sh
-rwxr-xr-x22/apache/entrypoint.sh6
-rwxr-xr-x22/fpm-alpine/entrypoint.sh6
-rwxr-xr-x22/fpm/entrypoint.sh6
-rwxr-xr-x23/apache/entrypoint.sh6
-rwxr-xr-x23/fpm-alpine/entrypoint.sh6
-rwxr-xr-x23/fpm/entrypoint.sh6
-rwxr-xr-x24/apache/entrypoint.sh6
-rwxr-xr-x24/fpm-alpine/entrypoint.sh6
-rwxr-xr-x24/fpm/entrypoint.sh6
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 "$@"