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

lintian: r450 - in trunk: checks debian



Author: djpig
Date: 2005-07-23 15:20:20 +0200 (Sat, 23 Jul 2005)
New Revision: 450

Modified:
   trunk/checks/po-debconf
   trunk/debian/changelog
Log:
Abort check if the package doesn't seem to use debconf to
avoid false positives in case maintainers use debian/po for
other Debian specific strings (Closes: #262749)


Modified: trunk/checks/po-debconf
===================================================================
--- trunk/checks/po-debconf	2005-07-23 13:01:56 UTC (rev 449)
+++ trunk/checks/po-debconf	2005-07-23 13:20:20 UTC (rev 450)
@@ -55,7 +55,7 @@
 }
 
 #   Exit if package does not seem to use po-debconf
--d "debfiles/po" or return(0);
+($has_template && -d "debfiles/po") or return(0);
 
 my $missing_files = 0;
 if (-f "debfiles/po/POTFILES.in") {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-07-23 13:01:56 UTC (rev 449)
+++ trunk/debian/changelog	2005-07-23 13:20:20 UTC (rev 450)
@@ -17,6 +17,10 @@
       just on zero-length lines. (Closes: #319370)
   * checks/fields:
     + [FL] Actually mention which architecture we're complaining about
+  * checks/po-debconf:
+    + [FL] Abort check if the package doesn't seem to use debconf to
+      avoid false positives in case maintainers use debian/po for
+      other Debian specific strings (Closes: #262749)
   * checks/scripts:
     + [FL] increase search limit for exec hack by not counting comments
       and empty lines (Closes: #294661)



Reply to: