Re: How to detect packages autobuilt against debhelper 5.0.14?
Hi,
Andrew Pollock wrote:
> Any suggestions for how to determine all packages autobuilt against
> debhelper 5.0.14?
Wouldn't it be sufficient to look for dh_installinit stuff in postinst
but no init file similar to
for x in *.deb ; do ar p $x control.tar.gz | tar xzOf - ./postinst
2>/dev/null | grep -q dh_installinit && (dpkg --contents $x | grep
'\./etc/init.d/.' > /dev/null || echo "problem $x") ; done
Of course, one could do more sophisticated checking by looking for the
specific init script mentioned in the postinst.
Kind regards
T.
--
Thomas Viehmann, http://thomas.viehmann.net/
Reply to: