Oops. The line that was supposed to add the MAXMIND line to app.yml was broken.
}
assert_maxmind_license_key() {
- echo "Checking if $web_file has MAXMIND placeholder."
if ! grep DISCOURSE_MAXMIND_LICENSE_KEY $web_file
then
echo "Adding MAXMIND placeholder to $web_file"
- sed -i -e 's/LETSENCRYPT_ACCOUNT_EMAIL/a\ \ #DISCOURSE_MAXMIND_LICENSE_KEY: 1234567890123456' $web_file
+ sed -i '/^.*LETSENCRYPT_ACCOUNT_EMAIL.*/a \ \ #DISCOURSE_MAXMIND_LICENSE_KEY: 1234567890123456' containers/app.yml
fi
}