From cd070e8b8eb8f3b9e6fcd42b5b66033a004bb5e6 Mon Sep 17 00:00:00 2001
From: Ivan Rako <irako@nekkar.carnet.hr>
Date: Tue, 9 May 2017 15:52:02 +0200
Subject: [PATCH] izmjene u postinstu

---
 debian/postinst |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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' \
-- 
1.7.10.4