From 64207e10024398b2031499706b9580fd979c1d15 Mon Sep 17 00:00:00 2001 From: Zeljko Boros Date: Thu, 13 Jan 2022 14:31:32 +0100 Subject: [PATCH] =?utf8?q?Izba=C4=8Den=20bash-izam=20iz=20postinsta?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- debian/changelog | 6 ++++++ debian/postinst | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 8262cfc..f73d24e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dovecot-cn (1:2.3.4.1+cn10u3) stable; urgency=medium + + * Izbačen bash-izam iz postinsta + + -- Zeljko Boros Thu, 13 Jan 2022 14:27:01 +0100 + dovecot-cn (1:2.3.4.1+cn10u2) stable; urgency=medium * Popravlja varijablu ssl_protocols na ssl_min_protocol diff --git a/debian/postinst b/debian/postinst index b9202d1..0b0086b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -9,7 +9,7 @@ set -e . /usr/share/carnet-tools/functions.sh -function move_certs() { +move_certs() { if [ -f /etc/dovecot/private/dovecot.pem -a ! -f /etc/dovecot/private/dovecot.key ]; then mv -f /etc/dovecot/private/dovecot.pem /etc/dovecot/private/dovecot.key || true fi @@ -19,7 +19,7 @@ function move_certs() { fi } -function put_new_certs() { +put_new_certs() { # postavlja cert i key na nove putanje iz bustera cp_check_and_sed '#ssl_key =