mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
postfix: fix relay conf not triggered because new setting system now returns '1' and not 'True'
This commit is contained in:
parent
372a602378
commit
cd43c8bd0d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ do_pre_regen() {
|
|||
export relay_user=""
|
||||
export relay_host=""
|
||||
export relay_enabled="$(yunohost settings get 'email.smtp.smtp_relay_enabled')"
|
||||
if [ "${relay_enabled}" == "True" ]; then
|
||||
if [ "${relay_enabled}" == "1" ]; then
|
||||
relay_host="$(yunohost settings get 'email.smtp.smtp_relay_host')"
|
||||
relay_port="$(yunohost settings get 'email.smtp.smtp_relay_port')"
|
||||
relay_user="$(yunohost settings get 'email.smtp.smtp_relay_user')"
|
||||
|
|
Loading…
Add table
Reference in a new issue