diff options
author | GitHub Workflow <workflow@github.com> | 2022-11-03 19:15:06 +0300 |
---|---|---|
committer | GitHub Workflow <workflow@github.com> | 2022-11-03 19:15:06 +0300 |
commit | 739d6996409825bc61000f0c901ea05fbe3debf7 (patch) | |
tree | 5faf6ed3a42f99fb8110b8a7f6b8a3069fd6f6fb /23 | |
parent | aa779c7c92f4207d4cb39a46e86c02b5e0a2321c (diff) |
Runs update.sh
Diffstat (limited to '23')
-rwxr-xr-x | 23/apache/entrypoint.sh | 2 | ||||
-rwxr-xr-x | 23/fpm-alpine/entrypoint.sh | 2 | ||||
-rwxr-xr-x | 23/fpm/entrypoint.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/23/apache/entrypoint.sh b/23/apache/entrypoint.sh index 1e3d438..cad7881 100755 --- a/23/apache/entrypoint.sh +++ b/23/apache/entrypoint.sh @@ -242,7 +242,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # Update htaccess after init if requested - if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ] && [ "$installed_version" != "0.0.0.0" ]; then run_as 'php /var/www/html/occ maintenance:update:htaccess' fi diff --git a/23/fpm-alpine/entrypoint.sh b/23/fpm-alpine/entrypoint.sh index 1e3d438..cad7881 100755 --- a/23/fpm-alpine/entrypoint.sh +++ b/23/fpm-alpine/entrypoint.sh @@ -242,7 +242,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # Update htaccess after init if requested - if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ] && [ "$installed_version" != "0.0.0.0" ]; then run_as 'php /var/www/html/occ maintenance:update:htaccess' fi diff --git a/23/fpm/entrypoint.sh b/23/fpm/entrypoint.sh index 1e3d438..cad7881 100755 --- a/23/fpm/entrypoint.sh +++ b/23/fpm/entrypoint.sh @@ -242,7 +242,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP fi # Update htaccess after init if requested - if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ]; then + if [ -n "${NEXTCLOUD_INIT_HTACCESS+x}" ] && [ "$installed_version" != "0.0.0.0" ]; then run_as 'php /var/www/html/occ maintenance:update:htaccess' fi |