[Dbconfig-common-changes] [dbconfig-common] r331 - in trunk: debian doc

Sean Finney seanius at costa.debian.org
Tue Sep 19 14:34:26 CEST 2006


Author: seanius
Date: 2006-09-19 12:34:26 +0000 (Tue, 19 Sep 2006)
New Revision: 331

Modified:
   trunk/debian/changelog
   trunk/doc/dbconfig-common.sgml
Log:
doc fixes from thijs

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-09-18 19:20:03 UTC (rev 330)
+++ trunk/debian/changelog	2006-09-19 12:34:26 UTC (rev 331)
@@ -1,8 +1,12 @@
-dbconfig-common (1.8.23) UNRELEASED; urgency=low
+dbconfig-common (1.8.23) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Thijs Kinkhorst noticed a discrepancy in the documenation about
+    the config file later on in the documenation.  also, since 
+    dbconfig-common depends on debconf, it's not necessary for the
+    package in question to depend on debconf if it doesn't explicitly
+    need it (closes: #388249).
 
- -- sean finney <seanius at debian.org>  Mon, 18 Sep 2006 21:21:04 +0200
+ -- sean finney <seanius at debian.org>  Tue, 19 Sep 2006 14:33:55 +0200
 
 dbconfig-common (1.8.22) unstable; urgency=low
 

Modified: trunk/doc/dbconfig-common.sgml
===================================================================
--- trunk/doc/dbconfig-common.sgml	2006-09-18 19:20:03 UTC (rev 330)
+++ trunk/doc/dbconfig-common.sgml	2006-09-19 12:34:26 UTC (rev 331)
@@ -86,8 +86,7 @@
 			not currently using debconf in your package,
 			you will be now, and the debconf libraries
 			need to be sourced first.  you will need to
-			depend on debconf explicitly, and either use
-			dh_installdebconf or otherwise install your
+			use dh_installdebconf or otherwise install your
 			<var>config</var> script into your deb file
 			if you're not already doing so.  for example,
 			here's an what it might look like in a <var>config</var>
@@ -358,12 +357,15 @@
 
 # source debconf stuff
 . /usr/share/debconf/confmodule
-# we support mysql and pgsql
-dbc_dbtypes="mysql, pgsql"
-# source dbconfig-common stuff
-. /usr/share/dbconfig-common/dpkg/config 
-dbc_go foo-mysql $@
+if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
+	# we support mysql and pgsql
+	dbc_dbtypes="mysql, pgsql"
 
+	# source dbconfig-common stuff
+	. /usr/share/dbconfig-common/dpkg/config 
+	dbc_go foo-mysql $@
+fi
+
 # ... rest of your code ...
 			</example>
 




More information about the Dbconfig-common-changes mailing list