[Dbconfig-common-devel] Difficult/partial upgrade

Sean Finney seanius at debian.org
Wed Feb 16 22:42:52 UTC 2011


hi again,

On Wed, 2011-02-16 at 23:33 +0100, Vincent Bernat wrote:

> So,  I should  be able  to use  dbc_mysql_exec_file inside  the "script"
> functionality, right?

if you're doing that, i think you will need to actually do it in your
postinst script directly (i.e. in an "if dpkg-compareversions ...." type
block).

it ought to be possible to setup dbconfig in a seperate script through
the standard upgrade mechanism, but you'd need to spend some time
reading what dbc_go actually does to do this, and it's probably just
easier to do it int he postinst since everything's already set up there.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/dbconfig-common-devel/attachments/20110216/eab24eb0/attachment.pgp>


More information about the Dbconfig-common-devel mailing list