[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to obtain current package version number?



On Tue, Mar 04, 2003 at 04:58:32PM +0100, Marc Haber wrote:
> On Tue, 4 Mar 2003 10:40:52 -0300, Henrique de Moraes Holschuh
> <hmh@debian.org> wrote:
> >No. Do not skip the proper interface layers.  Use dpkg to get that
> >information.
> 
> Calling dpkg is actually the recommended way to do this? Can I call
> dpkg --list from a postinst script without having it explode?

No, it is not. You just need to use the $1 argument to postinst, as
Jerome told you.

Friendly,

Sven Luther



Reply to: