diff options
Diffstat (limited to 'main/dovecot/dovecot.post-install')
-rw-r--r-- | main/dovecot/dovecot.post-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/dovecot/dovecot.post-install b/main/dovecot/dovecot.post-install index ed3ebf124..d75f01ea2 100644 --- a/main/dovecot/dovecot.post-install +++ b/main/dovecot/dovecot.post-install @@ -16,8 +16,8 @@ dovecot_conf=/etc/dovecot/dovecot.conf ssl_cert_file= ssl_key_file= if [ -r "$dovecot_conf" ]; then - ssl_cert_file=$(awk -F'[[:space:]*=[[:space:]]*' '/^ssl_cert_file/ { print $2}' $dovecot_conf) - ssl_cert_file=$(awk -F'[[:space:]*=[[:space:]]*' '/^ssl_key_file/ { print $2}' $dovecot_conf) + ssl_cert_file=$(awk -F'[[:space:]]*=[[:space:]]*' '/^ssl_cert_file/ { print $2}' $dovecot_conf) + ssl_cert_file=$(awk -F'[[:space:]]*=[[:space:]]*' '/^ssl_key_file/ { print $2}' $dovecot_conf) fi CERTFILE=${ssl_cert_file:-$CERTDIR/server.pem} |