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

Re: postinst?



On Mon, 6 Sep 1999, Josip Rodin wrote:

> On Thu, Sep 02, 1999 at 02:27:51PM +0100, Julian Gilbey wrote:
> > I don't believe that debhelper will create the script otherwise.
> 
> It will. If you don't have postinst, but dh_* scripts create
> postinst.debhelper, dh_installdeb will copy that to
> debian/tmp/DEBIAN/postinst . Same goes for other p* scripts.
there was a postinst.debhelper, yup
 
> I agree with this approach. You should always check what $1 (and other
> arguments) is/are, to avoid duplicating the installation time of a package.
> Tip: prerm script should usually check this: [ "$1" != "upgrade" ] .
prerm? I dont need that right now, I think. postrm is executed when
upgrading the package? Anyway, its working fine now, thanks a lot for your
help. And look out for the finest game ever, moon-buggy, what else ;-)

Ciao,
Christian.


Reply to: