Skip to content

Commit

Permalink
Exclude autoconfig.php from user config check
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Latifi <[email protected]>
  • Loading branch information
flortsch committed Sep 3, 2024
1 parent e6d0240 commit e666301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
echo "Warning: /var/www/html/config/$cfgFile differs from the latest version of this image at /usr/src/nextcloud/config/$cfgFile"
fi
Expand Down

0 comments on commit e666301

Please sign in to comment.