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

Re: postinst?



> On Thu, Sep 02, 1999 at 02:27:51PM +0100, Julian Gilbey wrote:
> > Incidentally, for debhelper to put *anything* in a maintainer script
> > ({pre,post}{inst,rm}), you need to have at least the following minimal
> > script:
> > 
> > #! /bin/sh
> > 
> > #DEBHELPER#
> > 
> > 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.

Isn't Joey wonderful?!  He's thought of almost everything....
Debhelper is simply fantastic.

   Julian

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg


Reply to: