From 5ec07b4e41e94474b7eb5294462d778533aef8e6 Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Wed, 28 Apr 2021 14:02:02 +0200 Subject: [PATCH] fix postinst, control --- debian/control | 4 ++-- debian/postinst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/debian/control b/debian/control index b2a5a0a..b4607f4 100644 --- a/debian/control +++ b/debian/control @@ -1,8 +1,8 @@ Source: dovecot-cn Section: net Priority: optional -Maintainer: Ivan Rako -Uploaders: Zeljko Boros +Maintainer: Ivan Rako +Uploaders: Zeljko Boros Build-Depends: debhelper (>= 10) Standards-Version: 3.9.8 diff --git a/debian/postinst b/debian/postinst index 18fd1cf..911a04a 100755 --- a/debian/postinst +++ b/debian/postinst @@ -74,7 +74,7 @@ fi ### buster ima ssl_min_protocol umjesto ssl_protocols # ne radimo ništa ako već postoji ^ssl_min_protocol = TLS*, možda je sistemac smanjivao level TLS-a -if ! grep -q "^ssl_min_protocol = TLS"; then +if ! grep -q "^ssl_min_protocol = TLS" /etc/dovecot/conf.d/10-ssl.conf; then # postavlja minimalni TLS protokol i mijenja ime varijable cp_check_and_sed '#ssl_protocols =' \ 's/^#ssl_protocols.*/ssl_min_protocol = TLSv1.2/g' \ -- 1.7.10.4