On Thu, 30 Aug 2007, Jaldhar H. Vyas wrote:
I propose the following change to the postinst to fix the problems you and
Martin have reported. Does it look ok? If so I will upload a fixed package
tomorrow.
## SSL Certs
# Certs and key file
SSL_CERT=$( (egrep -s "^[^#]*ssl_cert_file" dovecot.conf \
| | echo '/etc/ssl/certs/dovecot.pem') | cut -d'=' -f2)
SSL_KEY=$( (grep -s "^[^#]*ssl_key_file" dovecot.conf \
| | echo '/etc/ssl/private/dovecot.pem') | cut -d'=' -f2)
Oops this part should be:
## SSL Certs
# Certs and key file
SSL_CERT=$( (egrep -s "^[^#]*ssl_cert_file" /etc/dovecot/dovecot.conf \
|| echo '/etc/ssl/certs/dovecot.pem') | cut -d'=' -f2)
SSL_KEY=$( (grep -s "^[^#]*ssl_key_file" /etc/dovecot/dovecot.conf \
|| echo '/etc/ssl/private/dovecot.pem') | cut -d'=' -f2)
--
Jaldhar H. Vyas <[EMAIL PROTECTED]>
La Salle Debain - http://www.braincells.com/debian/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]