izmjene u postinstu jessie debian/1%2.2.13_cn1
authorIvan Rako <irako@nekkar.carnet.hr>
Tue, 9 May 2017 13:52:02 +0000 (15:52 +0200)
committerIvan Rako <irako@nekkar.carnet.hr>
Tue, 9 May 2017 13:52:02 +0000 (15:52 +0200)
debian/postinst

index 0d75081..2afcf7a 100755 (executable)
@@ -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' \