Package: libnss-myhostname
Version: 0.3-5
Severity: normal

There are duplicated ldconfig calls in postinst/postrm:

,---- [ /var/lib/dpkg/info/libnss-myhostname.postinst ]
| #!/bin/sh
| set -e
|
| # Automatically added by dh_makeshlibs
| if [ "$1" = "configure" ]; then
|         ldconfig
| fi
| # End automatically added section
|
|
| if [ "$1" = "configure" ]; then
|         ldconfig
| fi
| [...]
`----

The reason is obvious:

,---- [ debian/postinst ]
| #!/bin/sh
| set -e
|
| #DEBHELPER#
|
| if [ "$1" = "configure" ]; then
|         ldconfig
| fi
|
| # This code was taken from nss-mdns:
| [...]
`----

The #DEBHELPER# macro already takes care of ldconfig handling, so no
reason to explicitely state it. (Same for postrm as for postinst)

regards,
-mika-


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/2013-06-19t18-26...@devnull.michael-prokop.at

Reply via email to