Skip to content

Commit 2bc1036

Browse files
authored
Exclude autoconfig.php from user config check (nextcloud#2290)
Signed-off-by: Florian Latifi <[email protected]>
1 parent a1e93f4 commit 2bc1036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ if expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ] || [ "${NEXTCLOUD_UP
280280
for cfgPath in /usr/src/nextcloud/config/*.php; do
281281
cfgFile=$(basename "$cfgPath")
282282

283-
if [ "$cfgFile" != "config.sample.php" ]; then
283+
if [ "$cfgFile" != "config.sample.php" ] && [ "$cfgFile" != "autoconfig.php" ]; then
284284
if ! cmp -s "/usr/src/nextcloud/config/$cfgFile" "/var/www/html/config/$cfgFile"; then
285285
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
286286
fi

0 commit comments

Comments
 (0)