Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added missing dbconfig-common hooks and set defaults for database nam…

…e and

database user to interchange-cat-standard Debian package.
  • Loading branch information...
commit 0a551708c3fc83700f360c74fb5919530c291f16 1 parent 814a939
@racke racke authored
View
2  WHATSNEW-5.5
@@ -150,6 +150,8 @@ Packaging
* 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.
View
5 debian/changelog
@@ -3,6 +3,9 @@ interchange (5.5.2-0.0.1) unstable; urgency=low
* 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@debian.org>)
* don't care about Apache 1 anymore
@@ -11,7 +14,7 @@ interchange (5.5.2-0.0.1) unstable; urgency=low
* use type error for wrong Debconf input
* use colon style for Debconf questions
- -- Stefan Hornburg (Racke) <racke@linuxia.de> Fri, 15 Feb 2008 21:51:46 +0100
+ -- Stefan Hornburg (Racke) <racke@linuxia.de> Fri, 15 Feb 2008 22:22:06 +0100
interchange (5.5.1-1) unstable; urgency=low
View
8 debian/interchange-cat-standard.config
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2002,2003,2004,2005,2006 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2001,2002,2003,2004,2005,2006,2008 by Stefan Hornburg (Racke) <racke@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
View
7 debian/interchange-cat-standard.postinst
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2004,2005,2006 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2001,2004,2005,2006,2008 by Stefan Hornburg (Racke) <racke@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
View
8 debian/interchange-cat-standard.postrm
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2000,2001,2004 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2000,2001,2004,2008 by Stefan Hornburg (Racke) <racke@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,6 +20,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
if [ "$RET" = "true" ]; then
View
6 debian/interchange-cat-standard.prerm
@@ -1,6 +1,6 @@
#! /bin/sh -e
#
-# Copyright 2001,2004,2005 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2001,2004,2005,2008 by Stefan Hornburg (Racke) <racke@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,6 +20,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=
db_get interchange-cat-standard/install
Please sign in to comment.
Something went wrong with that request. Please try again.