ghost: ability to provide a custom mail name

This commit is contained in:
Wonderfall
2016-04-26 20:06:22 +02:00
parent 34a95d56b3
commit ce8722644f
3 changed files with 6 additions and 1 deletions

View File

@ -15,7 +15,9 @@ if [ "$CUSTOM_SMTP" == "True" ]; then
sed -i -e "s/<HOST>/$SMTP_HOST/g" \
-e "s/<PORT>/$SMTP_PORT/g" \
-e "s/<USER>/$SMTP_USER/g" \
-e "s/<PASS>/$SMTP_PASS/g" /ghost/config.js
-e "s/<PASS>/$SMTP_PASS/g" \
-e "s/<SENDER_MAIL>/$SMTP_SENDER_MAIL/g" \
-e "s/<SENDER_NAME>/$SMTP_SENDER_NAME/g" /ghost/config.js
fi
if [ ! -d /ghost/content/themes/casper ]; then