[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#376183: lintian: please detect maintscripts which exit 0 when sourcing fails



Package: lintian
Version: 1.23.8
Severity: wishlist

Some maintainers apparently like to ignore failures sourcing debconf,
instead of reporting them.

perl -0ne '/(?<!\\)^\s*\.\s+.*\|\|\s+exit\s+0/m && print "$&\n"' /var/lib/dpkg/info/*.p*

perl -0ne '/(?<!\\)^\s*if\s+\.\s+.*/m && print "$&\n"' /var/lib/dpkg/info/*.p*



Reply to: