mirror of
https://github.com/nextcloud/docker.git
synced 2025-01-25 23:23:54 +01:00
prevents running occ maintenance:update:htaccess
on a first run volume (#1843)
Signed-off-by: Matías Pecchia <179218+mabeett@users.noreply.github.com> Signed-off-by: Matías Pecchia <179218+mabeett@users.noreply.github.com>
This commit is contained in:
parent
88568fb121
commit
aa779c7c92
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Update htaccess after init if requested
|
# 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'
|
run_as 'php /var/www/html/occ maintenance:update:htaccess'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue