From: Zeljko Boros Date: Thu, 13 Jan 2022 13:31:32 +0000 (+0100) Subject: Izbačen bash-izam iz postinsta X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=HEAD;p=dovecot-cn.git Izbačen bash-izam iz postinsta --- 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 =