lintian: r287 - in trunk: checks debian
Author: djpig
Date: 2004-06-18 21:18:32 +0200 (Fri, 18 Jun 2004)
New Revision: 287
Modified:
trunk/checks/menus
trunk/debian/changelog
Log:
Fix regex which checks for update-menus calls (missing
whitespace) and allow path before executable name (perhaps this
should be another warning, though?) (Closes: #254420)
Modified: trunk/checks/menus
===================================================================
--- trunk/checks/menus 2004-06-18 18:26:39 UTC (rev 286)
+++ trunk/checks/menus 2004-06-18 19:18:32 UTC (rev 287)
@@ -275,7 +275,7 @@
# does the script call update-menus?
# TODO this regex-magic should be moved to some lib for checking
# whether a certain word is likely called as command... --Jeroen
- if (/(?:^\s*|[;&|]|(?:then|do)\s+)update-menus(?:\s|[;&|<>]|$)/) {
+ if (/(?:^\s*|[;&|]\s*|(?:then|do)\s+)(?:\/usr\/bin\/)?update-menus(?:\s|[;&|<>]|$)/) {
# yes, it does.
$pres->{'calls-updatemenus'} = 1;
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2004-06-18 18:26:39 UTC (rev 286)
+++ trunk/debian/changelog 2004-06-18 19:18:32 UTC (rev 287)
@@ -41,6 +41,10 @@
* checks/huge-usr-share:
+ [FL] Skip check for packages that don't have usr/share at all
(Closes: #247708)
+ * checks/menus:
+ + [FL] Fix regex which checks for update-menus calls (missing
+ whitespace) and allow path before executable name (perhaps this
+ should be another warning, though?) (Closes: #254420)
* 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
Reply to: