Re: preinst: get new pkg version to check for downgrade

2015-01-24 Thread Guillem Jover
Hi! On Thu, 2015-01-08 at 20:12:00 +0100, Guillem Jover wrote: > On Wed, 2015-01-07 at 17:55:36 +0200, Andrey Utkin wrote: > > We change database schema from time to time. We do this with scripts, > > in a way similar to dbconfig-common (but it turned out to be buggy so > > we made our solution fr

Re: preinst: get new pkg version to check for downgrade

2015-01-08 Thread Guillem Jover
Hi! The context is that Andrey wanted to get, in a maintscript, the new version of the package during upgrade, to be able to abort on downgrades, w/o needing to use a template maintscript to replace the current version at build-time, which is inconvenient. On Wed, 2015-01-07 at 17:55:36 +0200, An