From 588dd021803b32b7f0910b246cc9909ea1fb79a8 Mon Sep 17 00:00:00 2001 From: Pranav Gaikwad Date: Wed, 31 Jul 2019 17:23:05 -0400 Subject: [PATCH] Added --follow-symlinks to sed task --- mediawiki:latest/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mediawiki:latest/entrypoint.sh b/mediawiki:latest/entrypoint.sh index b8ad2b7..734c0f1 100755 --- a/mediawiki:latest/entrypoint.sh +++ b/mediawiki:latest/entrypoint.sh @@ -71,7 +71,7 @@ if [ -e "$LOCAL_SETTINGS" -a "$MEDIAWIKI_UPDATE" = true ]; then fi if [ -e "$LOCAL_SETTINGS" ]; then - sed -i -e '/$wgLogo/c\$wgLogo = '\"$MEDIAWIKI_LOGO'\";' $LOCAL_SETTINGS + sed --follow-symlinks -i -e '/$wgLogo/c\$wgLogo = '\"$MEDIAWIKI_LOGO'\";' $LOCAL_SETTINGS fi scl enable rh-php${PHP} php-fpm