mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-mail/dovecot: fix cert paths
install_cert path was changed in dovecot-2.4. Adjust cert paths in conditional expression accordingly. Signed-off-by: Alexander Tsoy <alexander@tsoy.me> Part-of: https://github.com/gentoo/gentoo/pull/45312 Closes: https://github.com/gentoo/gentoo/pull/45312 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
1cb04817f4
commit
42cb8cf308
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -237,8 +237,8 @@ pkg_postinst() {
|
||||
fi
|
||||
|
||||
# Let's not make a new certificate if we already have one
|
||||
if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
|
||||
-e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
|
||||
if ! [[ -e "${ROOT}"/etc/dovecot/server.pem && \
|
||||
-e "${ROOT}"/etc/dovecot/server.key ]]; then
|
||||
einfo "Creating SSL certificate"
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
|
||||
install_cert /etc/dovecot/server
|
||||
|
||||
@@ -234,8 +234,8 @@ pkg_postinst() {
|
||||
fi
|
||||
|
||||
# Let's not make a new certificate if we already have one
|
||||
if ! [[ -e "${ROOT}"/etc/ssl/dovecot/server.pem && \
|
||||
-e "${ROOT}"/etc/ssl/dovecot/server.key ]]; then
|
||||
if ! [[ -e "${ROOT}"/etc/dovecot/server.pem && \
|
||||
-e "${ROOT}"/etc/dovecot/server.key ]]; then
|
||||
einfo "Creating SSL certificate"
|
||||
SSL_ORGANIZATION="${SSL_ORGANIZATION:-Dovecot IMAP Server}"
|
||||
install_cert /etc/dovecot/server
|
||||
|
||||
Reference in New Issue
Block a user