On Tue, Mar 04, 2003 at 05:02:22PM +0100, Marc Haber wrote: > On Tue, 04 Mar 2003 14:16:34 +0100 (CET), J?r?me Marant > <[EMAIL PROTECTED]> wrote: > >IIRC you can get it from the postinst parameters. You can have a look > >to the policy, in maintainers scripts section. > > I thought so as well, but it looks like postinst is only called with > the most recently configured version, not with the current version.
Why not just preprocess the postinst in debian/rules to embed its own version number directly into it? -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]