From: Ivan Rako <irako@nekkar.carnet.hr>
Date: Tue, 9 May 2017 13:52:02 +0000 (+0200)
Subject: izmjene u postinstu
X-Git-Tag: debian/1%2.2.13_cn1^0
X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=refs%2Fheads%2Fjessie;p=dovecot-cn.git

izmjene u postinstu
---

diff --git a/debian/postinst b/debian/postinst
index 0d75081..2afcf7a 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -49,7 +49,7 @@ if ! grep -q ^ssl_cert /etc/dovecot/conf.d/10-ssl.conf \
 
   if [ ! -f /etc/dovecot/dovecot.pem -a ! -f /etc/dovecot/private/dovecot.pem ]; then
     echo "CN: Generating certificate and key..."
-    /usr/share/dovecot-cn/mkcert.sh 2>&1 > /dev/null
+    /usr/share/dovecot-cn/mkcert.sh || true
   fi
 
   cp_check_and_sed '#ssl_cert = </etc/dovecot/dovecot.pem' \