bts tags 685896 + patch
diff -Nru dovecot-2.1.7/debian/changelog dovecot-2.1.7/debian/changelog
--- dovecot-2.1.7/debian/changelog	2012-06-22 04:32:02.000000000 +0000
+++ dovecot-2.1.7/debian/changelog	2012-09-08 15:04:02.000000000 +0000
@@ -1,3 +1,10 @@
+dovecot (1:2.1.7-2.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fixed #685896
+
+ --  <localuser@apisteutos>  Sat, 08 Sep 2012 15:03:12 +0000
+
 dovecot (1:2.1.7-2) unstable; urgency=low
 
   * [e23a136] Just a quick upload to make dovecot buildable on non-linux
diff -Nru dovecot-2.1.7/debian/dovecot-core.postinst dovecot-2.1.7/debian/dovecot-core.postinst
--- dovecot-2.1.7/debian/dovecot-core.postinst	2012-06-22 04:32:02.000000000 +0000
+++ dovecot-2.1.7/debian/dovecot-core.postinst	2012-09-08 14:58:01.000000000 +0000
@@ -119,7 +119,7 @@
   SSL_KEY="/etc/ssl/private/dovecot.pem"
 
   # Generate new certs if needed
-  if [ -e $SSL_CERT ] && [ -e $SSL_KEY ]; then
+  if [ -e $SSL_CERT ] || [ -e $SSL_KEY ]; then
     echo "You already have ssl certs for dovecot."
   else
     echo "Creating generic self-signed certificate: $SSL_CERT"

Reply via email to