Manoj Srivastava <[EMAIL PROTECTED]> writes: > Lintian says: > W: mailagent: postinst-does-not-load-confmodule > > But the postinst does: > ###################################################################### > my $have_debconf = 0; > eval {require Debconf::Client::ConfModule;}; > if ( ! $@ ) > { > $have_debconf++; > import Debconf::Client::ConfModule ':all'; > } > ###################################################################### > > The postinst either uses debconf, if available, or it prompts by > itself (since the prompting predates debconf). Does lintian presume > that all postinst scripts are shell scripts?
No, it was just expecting use and didn't know about require. I've taught it about require and the fix will be in the bug-fix release of lintian that will probably be uploaded this evening. Thanks! -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]