Re: place of ldconfig in postinst
On Thu, Nov 01, 2001 at 10:56:25AM -0500, Steve M. Robbins wrote:
> On Thu, Nov 01, 2001 at 04:00:34PM +0100, Eric Van Buggenhaut wrote:
> > Hi,
> >
> > I'm building my first packages with shared library.
> >
> > This is what my postinst states:
> >
> >
> > case "$1" in
> > configure)
> > ldconfig
> > ;;
> >
> > abort-upgrade|abort-remove|abort-deconfigure)
> >
> > ;;
> >
> > *)
> > echo "postinst called with unknown argument \`$1'" >&2
>
> By the way, if you use the debhelper scripts (dh_makeshlibs in
> particular) , you don't need to write the postinst by hand,
> and as a bonus, lintian will not complain about it.
OK, done !
--
Eric VAN BUGGENHAUT
Eric.VanBuggenhaut@AdValvas.be
Reply to: