From 3e96abf62fc90068289b2e108665d14f35c0e918 Mon Sep 17 00:00:00 2001 From: Pavel Schoffer Date: Tue, 1 Aug 2023 17:20:05 +0200 Subject: [PATCH] Always update config defaults --- dev-tools/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-tools/setup.sh b/dev-tools/setup.sh index f04dbd56..8b49b4a0 100755 --- a/dev-tools/setup.sh +++ b/dev-tools/setup.sh @@ -85,10 +85,10 @@ if [ -n "${LANDO_INFO}" ] && [ "$(echo "${LANDO_INFO}" | jq -r '.["vip-mu-plugin done fi +cp /dev-tools/wp-config-defaults.php /wp/config/ if [ -r /wp/config/wp-config.php ]; then echo "Already existing wp-config.php file" else - cp /dev-tools/wp-config-defaults.php /wp/config/ sed -e "s/%DB_HOST%/$db_host/" /dev-tools/wp-config.php.tpl > /wp/config/wp-config.php if [ -n "$multisite_domain" ]; then sed -e "s/%DOMAIN%/$multisite_domain/" /dev-tools/wp-config-multisite.php.tpl >> /wp/config/wp-config.php