On Tue, Mar 04, 2003 at 11:52:09PM +0100, Marc Haber wrote:
> On Tue, 4 Mar 2003 16:41:48 +0000, Colin Watson <[EMAIL PROTECTED]>
> wrote:
> >Why not just preprocess the postinst in debian/rules to embed its own
> >version number directly into it?
> 
> Nice idea, thanks!
> 
> Is an executeable script (for example an init script) allowed to parse
> /var/lib/dpkg/info/$PACKAGE.postinst?

No - but you could do the same preprocessing for the init script,
couldn't you?

It might also help if you elaborated on why you need this ...

-- 
Colin Watson                                  [EMAIL PROTECTED]

Reply via email to