On Mon, 3 Sep 2001, Drew Parsons wrote:
> W: meschach: postinst-has-useless-call-to-ldconfig
> (and do I need to put dpkg-shlibdeps in debian/rules somewhere? It seems
> fine without it)
> My postinst is:
> #!/bin/sh
> # meschach.postinst, runs ldconfig
> set -e
> case "$1" in
> configure)
> ldconfig
> ;;
> abort-upgrade|abort-remove|abort-deconfigure)
> ;;
> esac
> #DEBHELPER#
> ##################################################
> Thanks for any clues or explanations,
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.
Which means you have two calls to ldconfig in the resulting postinst script,
and lintian is expecting only one. :)
Cheers,
Steve Langasek
postmodern programmer
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]