From c6fa300858af155c97dd245de5b07f83ad5353fe Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 12 Oct 2022 10:11:32 -0600 Subject: [PATCH] Use database_username variable from config.sh --- debian/resources/finish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/resources/finish.sh b/debian/resources/finish.sh index 5cf3ff9..efbc7c3 100755 --- a/debian/resources/finish.sh +++ b/debian/resources/finish.sh @@ -34,7 +34,7 @@ sed -i "s/zzz/$database_password/g" /etc/cron.daily/fusionpbx-maintenance mkdir -p /etc/fusionpbx cp fusionpbx/config.conf /etc/fusionpbx sed -i /etc/fusionpbx/config.conf -e s:"{database_host}:$database_host:" -sed -i /etc/fusionpbx/config.conf -e s:'{database_username}:fusionpbx:' +sed -i /etc/fusionpbx/config.conf -e s:"{database_username}:$database_username:" sed -i /etc/fusionpbx/config.conf -e s:"{database_password}:$database_password:" #add the database schema