[Dbconfig-common-changes] [dbconfig-common] r311 - in trunk: debian examples/db-test-sqlite-2.0/debian

Sean Finney seanius at costa.debian.org
Sat Aug 19 16:50:39 CEST 2006


Author: seanius
Date: 2006-08-19 14:50:38 +0000 (Sat, 19 Aug 2006)
New Revision: 311

Modified:
   trunk/debian/changelog
   trunk/examples/db-test-sqlite-2.0/debian/postrm
Log:
  * fix sourcing incorrect shell library in sqlite example, and make
    check for ucf in purge section.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-08-18 23:14:25 UTC (rev 310)
+++ trunk/debian/changelog	2006-08-19 14:50:38 UTC (rev 311)
@@ -1,8 +1,11 @@
 dbconfig-common (1.8.21) UNRELEASED; urgency=low
 
   * NOT RELEASED YET
+  [sean finney]
+  * fix sourcing incorrect shell library in sqlite example, and make
+    check for ucf in purge section.
 
- -- sean finney <seanius at debian.org>  Sat, 19 Aug 2006 01:13:29 +0200
+ -- sean finney <seanius at debian.org>  Sat, 19 Aug 2006 16:49:39 +0200
 
 dbconfig-common (1.8.20) unstable; urgency=low
 

Modified: trunk/examples/db-test-sqlite-2.0/debian/postrm
===================================================================
--- trunk/examples/db-test-sqlite-2.0/debian/postrm	2006-08-18 23:14:25 UTC (rev 310)
+++ trunk/examples/db-test-sqlite-2.0/debian/postrm	2006-08-19 14:50:38 UTC (rev 311)
@@ -6,14 +6,16 @@
 if [ -f /usr/share/debconf/confmodule ]; then
     . /usr/share/debconf/confmodule
 fi
-if [ -f /usr/share/dbconfig-common/dpkg/postrm.mysql ]; then
-    . /usr/share/dbconfig-common/dpkg/postrm.mysql
-    dbc_go db-test-mysql $@
+if [ -f /usr/share/dbconfig-common/dpkg/postrm.sqlite ]; then
+    . /usr/share/dbconfig-common/dpkg/postrm.sqlite
+    dbc_go db-test-sqlite $@
 fi
 
 if [ "$1" = "purge" ]; then
 	rm -f /etc/db-test-sqlite/debian-db.php
-	ucf --purge /etc/db-test-sqlite/debian-db.php
+	if which ucf >/dev/null 2>&1; then
+		ucf --purge /etc/db-test-sqlite/debian-db.php
+	fi
 fi
 
 #DEBHELPER#




More information about the Dbconfig-common-changes mailing list