From: Zeljko Boros Date: Wed, 28 Apr 2021 12:02:02 +0000 (+0200) Subject: fix postinst, control X-Git-Tag: debian/1%2.3.4.1+cn10u3~5 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=dovecot-cn.git;a=commitdiff_plain;h=5ec07b4e41e94474b7eb5294462d778533aef8e6 fix postinst, control --- 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' \