0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2024-11-17 18:46:43 +01:00

Exclude autoconfig.php from user config check

Signed-off-by: Florian Latifi <mail@florian-latifi.at>
This commit is contained in:
Florian Latifi 2024-09-03 10:48:08 +02:00
parent e6d024039f
commit e666301af7

View file

@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
for cfgPath in /usr/src/nextcloud/config/*.php; do for cfgPath in /usr/src/nextcloud/config/*.php; do
cfgFile=$(basename "$cfgPath") cfgFile=$(basename "$cfgPath")
if [ "$cfgFile" != "config.sample.php" ]; then if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile" echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
fi fi