Package: lintian
Version: 1.23.15
Tags: patch
checks/menu-format should look for commands in /usr/X11R6/bin rather
than /usr/bin/X11, since the latter is just a symlink, and binaries
are always installed in the former directory (Policy 11.8.7).
--- checks/menu-format.orig
+++ checks/menu-format
@@ -358,14 +358,14 @@
} else {
tag "menu-command-not-in-package", "$fullname:$linecount $cmd"
if (!($file_index{".$cmd"}
- || grep {$file_index{".".$_.$cmd}} qw(/usr/local/bin/
/usr/bin/ /bin/ /usr/bin/X11/ /usr/games/)) # Check for binary in PATH
+ || grep {$file_index{".".$_.$cmd}} qw(/usr/local/bin/
/usr/bin/ /bin/ /usr/X11R6/bin/ /usr/games/)) # Check for binary in PATH
&& ($tested_packages < 2)
&& ($section !~ m:^WindowManagers/Modules:));
}
} else {
tag "menu-command-not-in-package", "$fullname:$linecount $com[0]"
if ($com[0] && ! ($file_index{".$com[0]"}
- || grep {$file_index{".".$_.$com[0]}} qw(/usr/local/bin/
/usr/bin/ /bin/ /usr/bin/X11/ /usr/games/)) # Check for binary in PATH
+ || grep {$file_index{".".$_.$com[0]}} qw(/usr/local/bin/
/usr/bin/ /bin/ /usr/X11R6/bin/ /usr/games/)) # Check for binary in PATH
&& ($tested_packages < 2)
&& ($section !~ m:^WindowManagers/Modules:));
}
Thanks!
Matej
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]