[Pkg-apache-commits] r1078 - in /trunk/ssl-cert: debian/changelog make-ssl-cert

sf at alioth.debian.org sf at alioth.debian.org
Sun Nov 1 10:48:35 UTC 2009


Author: sf
Date: Sun Nov  1 10:48:35 2009
New Revision: 1078

URL: http://svn.debian.org/wsvn/pkg-apache/?sc=1&rev=1078
Log:
Print error message if debconf fails

Modified:
    trunk/ssl-cert/debian/changelog
    trunk/ssl-cert/make-ssl-cert

Modified: trunk/ssl-cert/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-apache/trunk/ssl-cert/debian/changelog?rev=1078&op=diff
==============================================================================
--- trunk/ssl-cert/debian/changelog (original)
+++ trunk/ssl-cert/debian/changelog Sun Nov  1 10:48:35 2009
@@ -1,5 +1,6 @@
 ssl-cert (1.0.24) UNRELEASED; urgency=low
 
+  * Print error message if debconf fails. Closes: #288045
   * Update Slovak translation, thanks to helix84 at centrum.sk. Closes: #514376
   * Fix typo. Closes: #536083 LP: #352157
   * Fix lintian warnings:

Modified: trunk/ssl-cert/make-ssl-cert
URL: http://svn.debian.org/wsvn/pkg-apache/trunk/ssl-cert/make-ssl-cert?rev=1078&op=diff
==============================================================================
--- trunk/ssl-cert/make-ssl-cert (original)
+++ trunk/ssl-cert/make-ssl-cert Sun Nov  1 10:48:35 2009
@@ -7,7 +7,14 @@
 db_capb backup
 
 ask_via_debconf() {
-    db_settitle make-ssl-cert/title
+    RET=""
+    if db_settitle make-ssl-cert/title ; then
+	: # OK
+    else
+	echo Debconf failed with error code $? $RET >&2
+	echo Maybe your debconf database is corrupt. >&2
+	echo Try re-installing ssl-cert. >&2
+    fi
 
     RET=""
     while [ "x$RET" = "x" ]; do




More information about the Pkg-apache-commits mailing list