use $web_file not app.yml

Maybe this will do the trick
This commit is contained in:
Jay Pfaffman 2021-01-26 17:29:56 -08:00 committed by Rafael dos Santos Silva
parent 5bc3e708aa
commit 32c7b98716
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ assert_maxmind_license_key() {
if ! grep DISCOURSE_MAXMIND_LICENSE_KEY $web_file
then
echo "Adding MAXMIND placeholder to $web_file"
sed -i '/^.*LETSENCRYPT_ACCOUNT_EMAIL.*/a \ \ #DISCOURSE_MAXMIND_LICENSE_KEY: 1234567890123456' containers/app.yml
sed -i '/^.*LETSENCRYPT_ACCOUNT_EMAIL.*/a \ \ #DISCOURSE_MAXMIND_LICENSE_KEY: 1234567890123456' $web_file
fi
}