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

lintian: r262 - in trunk: checks debian



Author: djpig
Date: 2004-05-09 02:23:11 +0200 (Sun, 09 May 2004)
New Revision: 262

Modified:
   trunk/checks/huge-usr-share
   trunk/debian/changelog
Log:
Skip huge-usr-share check for packages that don't have usr/share at all
(Closes: #247708)
Fix typo in changelog


Modified: trunk/checks/huge-usr-share
===================================================================
--- trunk/checks/huge-usr-share	2004-05-05 19:45:45 UTC (rev 261)
+++ trunk/checks/huge-usr-share	2004-05-09 00:23:11 UTC (rev 262)
@@ -43,6 +43,9 @@
 
 # If this is a arch-independent package, this test doesn't apply
 return 0 if $arch eq 'all';
+# usr/share missing. other checks will moan about it
+# so just ignore this package
+return 0 if !-d unpacked/usr/share;
 
 my $size = `du -ks unpacked`;
 $size =~ s/\t.*//;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-05-05 19:45:45 UTC (rev 261)
+++ trunk/debian/changelog	2004-05-09 00:23:11 UTC (rev 262)
@@ -12,6 +12,9 @@
   * checks/fields{,.desc}:
     + [JvW] Added debian-revision-should-not-be-zero, suggested by Adam
       Conrad
+  * checks/huge-usr-share:
+    + [FL] Skip check for packages that don't have usr/share at all
+      (Closes: #247708)
   * checks/menu-format:
     + [FL] Fix su-to-root checks to cope with the new -X option and
       improve the option parsing to better handle unknown options
@@ -21,7 +24,7 @@
       not in the list. Don't issue menu-command-not-in-package when
       we have a list.
   * checks/po-debconf:
-    + [JvW] Simply fail is stuff from gettext is missing.
+    + [JvW] Simply fail if stuff from gettext is missing.
   * checks/shared-libs:
     + [FL] Don't report shlib-with-executable-bit and
       shlib-with-bad-permissions on symbolic links to such files



Reply to: