[interchange-cvs] interchange - racke modified 6 files
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Fri Feb 15 16:25:30 EST 2008
User: racke
Date: 2008-02-15 21:25:30 GMT
Modified: . WHATSNEW-5.5
Modified: debian changelog interchange-cat-standard.config
Modified: interchange-cat-standard.postinst
Modified: interchange-cat-standard.postrm
Modified: interchange-cat-standard.prerm
Log:
Added missing dbconfig-common hooks and set defaults for database name and
database user to interchange-cat-standard Debian package.
Revision Changes Path
1.92 +2 -0 interchange/WHATSNEW-5.5
rev 1.92, prev_rev 1.91
Index: WHATSNEW-5.5
===================================================================
RCS file: /var/cvs/interchange/WHATSNEW-5.5,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- WHATSNEW-5.5 15 Feb 2008 20:53:53 -0000 1.91
+++ WHATSNEW-5.5 15 Feb 2008 21:25:28 -0000 1.92
@@ -150,6 +150,8 @@
* Apache 2 is now default webserver for Debian packages.
+* Added missing dbconfig-common hooks and set defaults for database name and
+ database user to interchange-cat-standard Debian package.
Interchange 5.5.1 released on 2007-08-21.
2.85 +4 -1 interchange/debian/changelog
rev 2.85, prev_rev 2.84
Index: changelog
===================================================================
RCS file: /var/cvs/interchange/debian/changelog,v
retrieving revision 2.84
retrieving revision 2.85
diff -u -r2.84 -r2.85
--- changelog 15 Feb 2008 20:53:53 -0000 2.84
+++ changelog 15 Feb 2008 21:25:29 -0000 2.85
@@ -3,6 +3,9 @@
* new upstream release
- display modified date on Saved Carts / Recurring Order page in a
human readable format (Closes: #430338)
+ * demo catalog installation
+ - added missing dbconfig-common hooks (Closes: #465993)
+ - added defaults for database name and database user
* updated French translation of Debconf templates (Closes: #440784,
thanks to Christian Perrier <bubulle at debian.org>)
* don't care about Apache 1 anymore
@@ -11,7 +14,7 @@
* use type error for wrong Debconf input
* use colon style for Debconf questions
- -- Stefan Hornburg (Racke) <racke at linuxia.de> Fri, 15 Feb 2008 21:51:46 +0100
+ -- Stefan Hornburg (Racke) <racke at linuxia.de> Fri, 15 Feb 2008 22:22:06 +0100
interchange (5.5.1-1) unstable; urgency=low
2.7 +6 -2 interchange/debian/interchange-cat-standard.config
rev 2.7, prev_rev 2.6
Index: interchange-cat-standard.config
===================================================================
RCS file: /var/cvs/interchange/debian/interchange-cat-standard.config,v
retrieving revision 2.6
retrieving revision 2.7
diff -u -r2.6 -r2.7
--- interchange-cat-standard.config 30 Mar 2007 11:39:41 -0000 2.6
+++ interchange-cat-standard.config 15 Feb 2008 21:25:29 -0000 2.7
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2002,2003,2004,2005,2006 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2001,2002,2003,2004,2005,2006,2008 by Stefan Hornburg (Racke) <racke at linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -20,8 +20,12 @@
# Source debconf library
. /usr/share/debconf/confmodule
-# Source dbconfig-common stuff
+# Set defaults for dbconfig-common
dbc_dbtypes="mysql, pgsql"
+dbc_dbname=interchange_standard
+dbc_dbuser=interchange
+
+# Source dbconfig-common stuff
. /usr/share/dbconfig-common/dpkg/config
# demo catalog installation
2.8 +4 -3 interchange/debian/interchange-cat-standard.postinst
rev 2.8, prev_rev 2.7
Index: interchange-cat-standard.postinst
===================================================================
RCS file: /var/cvs/interchange/debian/interchange-cat-standard.postinst,v
retrieving revision 2.7
retrieving revision 2.8
diff -u -r2.7 -r2.8
--- interchange-cat-standard.postinst 30 Mar 2007 11:39:41 -0000 2.7
+++ interchange-cat-standard.postinst 15 Feb 2008 21:25:29 -0000 2.8
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2004,2005,2006 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2001,2004,2005,2006,2008 by Stefan Hornburg (Racke) <racke at linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,8 +19,9 @@
# Source debconf library
. /usr/share/debconf/confmodule
-# Source dbconfig-common library
-. /usr/share/dbconfig-common/dpkg/postinst.mysql
+
+# Call dbconfig-common hook
+. /usr/share/dbconfig-common/dpkg/postinst
dbc_go interchange-cat-standard $@
GOAHEAD=false
2.3 +7 -1 interchange/debian/interchange-cat-standard.postrm
rev 2.3, prev_rev 2.2
Index: interchange-cat-standard.postrm
===================================================================
RCS file: /var/cvs/interchange/debian/interchange-cat-standard.postrm,v
retrieving revision 2.2
retrieving revision 2.3
diff -u -r2.2 -r2.3
--- interchange-cat-standard.postrm 30 Mar 2007 11:39:41 -0000 2.2
+++ interchange-cat-standard.postrm 15 Feb 2008 21:25:29 -0000 2.3
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2000,2001,2004 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2000,2001,2004,2008 by Stefan Hornburg (Racke) <racke at linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,6 +19,12 @@
# Source debconf library
. /usr/share/debconf/confmodule
+
+# Call dbconfig-common hook
+if [ -f /usr/share/dbconfig-common/dpkg/postrm ]; then
+ . /usr/share/dbconfig-common/dpkg/postrm
+ dbc_go interchange-cat-standard $@
+fi
if [ "$1" = "purge" ]; then
db_get interchange-cat-standard/install
2.6 +5 -1 interchange/debian/interchange-cat-standard.prerm
rev 2.6, prev_rev 2.5
Index: interchange-cat-standard.prerm
===================================================================
RCS file: /var/cvs/interchange/debian/interchange-cat-standard.prerm,v
retrieving revision 2.5
retrieving revision 2.6
diff -u -r2.5 -r2.6
--- interchange-cat-standard.prerm 30 Mar 2007 11:39:41 -0000 2.5
+++ interchange-cat-standard.prerm 15 Feb 2008 21:25:29 -0000 2.6
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2004,2005 by Stefan Hornburg (Racke) <racke at linuxia.de>
+# Copyright 2001,2004,2005,2008 by Stefan Hornburg (Racke) <racke at linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,6 +19,10 @@
# Source debconf library
. /usr/share/debconf/confmodule
+
+# Call dbconfig-common hook
+. /usr/share/dbconfig-common/dpkg/prerm
+dbc_go interchange-cat-standard $@
/usr/sbin/interchangeconfig USE_STANDARD=
More information about the interchange-cvs
mailing list