Skip to content

Commit

Permalink
Exclude autoconfig.php from user config check (#2290)
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Latifi <mail@florian-latifi.at>
  • Loading branch information
flortsch authored Sep 18, 2024
1 parent a1e93f4 commit 2bc1036
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 2bc1036

Please sign in to comment.