Re: ldconfig in postinst
On Tue, Sep 04, 2001 at 01:53:31PM +0200, Domenico Andreoli wrote:
> On Mon, Sep 03, 2001 at 01:22:01PM -0500, Steve Langasek wrote:
> > On Mon, 3 Sep 2001, Drew Parsons wrote:
> >
> [...]
> >
> > Check the contents of the postinst script in the binary package. The
> > #DEBHELPER# line gets replaced with debhelper hints based on the various dh_*
> > commands you've called, and if you call dh_makeshlibs, this will include a
> > call to ldconfig in the postinst and the postrm.
> >
> this happens only if you set DH_COMPAT=3 somewhere in your debian/rules and if
> you are using debhelper, of course
>
Yes. dh_makeshlibs doesn't put ldconfig in the debhelper script. I'm
running at DH_COMPAT=2. It's a bit of an old package I've adopted, so I'm a
bit worried about getting too carried away modernising it...
Drew
--
PGP public key available at http://dparsons.webjump.com/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0 EC0A B6CE 7041 6412 4E4A
Reply to: