[Dbconfig-common-changes] [dbconfig-common] r306 - in trunk: debian
doc
Sean Finney
seanius at costa.debian.org
Sat Aug 19 00:39:10 CEST 2006
Author: seanius
Date: 2006-08-18 22:39:10 +0000 (Fri, 18 Aug 2006)
New Revision: 306
Modified:
trunk/debian/changelog
trunk/doc/dbconfig-common.sgml
Log:
minor doc update and lets send to unstable
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2006-08-15 09:38:56 UTC (rev 305)
+++ trunk/debian/changelog 2006-08-18 22:39:10 UTC (rev 306)
@@ -1,7 +1,8 @@
-dbconfig-common (1.8.20) UNRELEASED; urgency=low
+dbconfig-common (1.8.20) unstable; urgency=low
[ sean finney ]
- * NOT RELEASED YET
+ * added more information about what needs to be done by packagers
+ wrt the postrm script hooks.
[ Matt Brown ]
* Added support for SQLite databases. closes: #379796.
@@ -9,7 +10,7 @@
translations
* Updated Dutch translation by Bart Cornelis.
- -- Bart Cornelis (cobaco) <cobaco at skolelinux.no> Tue, 15 Aug 2006 11:31:08 +0200
+ -- sean finney <seanius at debian.org> Sat, 19 Aug 2006 00:37:25 +0200
dbconfig-common (1.8.19) unstable; urgency=high
Modified: trunk/doc/dbconfig-common.sgml
===================================================================
--- trunk/doc/dbconfig-common.sgml 2006-08-15 09:38:56 UTC (rev 305)
+++ trunk/doc/dbconfig-common.sgml 2006-08-18 22:39:10 UTC (rev 306)
@@ -246,6 +246,22 @@
value, but with the leading <var>format:</var>
stripped away for convenience.
+ <em>NOTE</em> if you use this feature, you should
+ also ensure that the generated file is properly removed
+ in the <var>postrm</var> script. dbconfig-common can not
+ handle this itself, unfortunately, because it may be
+ possible that it is purged before your package is purged.
+ therefore, you should do the following in your <var>postrm</var>
+ script:
+ <example>
+if [ "$1" = "purge" ]; then
+ rm -f yourconfigfile
+ if which ucf >/dev/null 2>&1; then
+ ucf --purge yourconfigfile
+ fi
+fi
+ </example>
+
<sect1 id="import"> Importing <package>dbconfig-common</package> into an existing package
<p>
If your package is already part of debian,
More information about the Dbconfig-common-changes
mailing list