On 2012-10-25 08:49, Niels Thykier wrote: > On Oct 25, 2012 01:53 "Cyril Brulebois" <[email protected]> wrote: >> Hello folks, >> >> [...] >> >> Lintian folks, maybe it would be nice to have some check to detect >> unexpanded #DEBHELPER# tokens in maintainer scripts (as shipped in >> binary packages)? >> >> Mraw, >> KiBi. >> > > As far as I understand dh_installdeb and the code it uses, the #DEBHELPER# > is removed when debhelper does the substitution. So if it is actually > present in the resulting script it wasn't substituted. > > So yes, it should be doable. > > ~Niels > > >
Hi, I did an archive-wide scan today and got the following results: """ binary:units/1.88-1/i386: postinst (line: 9) binary:units/1.88-1/i386: postrm (line: 9) udeb:cpuburn-udeb/1.4a-3/i386: postinst (line: 3) udeb:debian-edu-profile-udeb/1.701/all: postinst (line: 5) udeb:emdebian-archive-keyring-udeb/2.0.3/all: postinst (line: 12) udeb:localechooser/2.48/i386: postinst (line: 7) udeb:ltsp-client-builder/5.4.2-2/all: postinst (line: 236) udeb:lvmcfg/1.27/all: postinst (line: 4) udeb:partman-base/161/i386: postinst (line: 5) udeb:ppp-udeb/2.4.5-5.1+b1/i386: postinst (line: 343) udeb:simple-cdd-profiles/0.3.14/all: postinst (line: 81) """ Source is at [0], results obtained via [1]. In case you want to reproduce it, it takes about 20-30 minutes to scan all those packages. ~Niels [0] ~nthykier/check-debhelper-maint.pl on lintian.d.o [1] On lintian.d.o: ~nthykier/bin/access-lintian-lab check-debhelper-maint.pl -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

