Re: version of package being replaced ?
On Fri, Sep 06, 2002 at 10:06:37AM +0100, Colin Watson wrote:
> On Fri, Sep 06, 2002 at 11:09:38AM +0200, Sven LUTHER wrote:
> > I wish to be able, in a package postinst, to be able to know the
> > previously installed version of the package, so i can take different
> > actions depending of the version we are replacing.
> >
> > I suppose it is also possible to easily distinguish between a first time
> > install and an upgrade.
>
> Sections 6.4 and 6.6 of policy describe what arguments will be passed to
> the postinst in these cases.
Ok, thanks, i will read it.
Friendly,
Sven Luther
Reply to: