* Neil Williams ([EMAIL PROTECTED]) [081104 16:03]: > http://incoming.debian.org/libnss-ldap_261-2.1_amd64.changes > > $ debdiff ../libnss-ldap_261-2.dsc ../libnss-ldap_261-2.1.dsc > > diff -u libnss-ldap-261/debian/libnss-ldap.postinst > libnss-ldap-261/debian/libnss-ldap.postinst > --- libnss-ldap-261/debian/libnss-ldap.postinst > +++ libnss-ldap-261/debian/libnss-ldap.postinst > @@ -176,7 +176,7 @@ > cp -p /etc/ldap.secret /etc/libnss-ldap.secret > fi > > -if [ -s /usr/sbin/nscd ]; then > +if [ -x /etc/init.d/nscd ]; then > if [ `pidof -s nscd` ]; then > if which invoke-rc.d >/dev/null 2>&1; then > invoke-rc.d nscd restart > diff -u libnss-ldap-261/debian/changelog libnss-ldap-261/debian/changelog > --- libnss-ldap-261/debian/changelog > +++ libnss-ldap-261/debian/changelog > @@ -1,3 +1,11 @@ > +libnss-ldap (261-2.1) unstable; urgency=low > + > + * Non-maintainer upload. > + * libnss-ldap calls nscd init script w/o checking its existance > + (Closes: #502760) > + > + -- Neil Williams <[EMAIL PROTECTED]> Tue, 04 Nov 2008 14:07:23 +0000 > + > libnss-ldap (261-2) unstable; urgency=low > > * Updated nl.po Closes: #469175
I doubt that this changes is correct, because /etc/init.d/nscd is an conffile and isn't removed during remove but only during purge. You need to check that both the conffile exists plus the binary. Cheers, Andi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]