The following commit has been merged in the master branch:
commit f7a2be3469ceff71585f1f8f7128de0b0be8ab74
Author: Raphael Geissert <[email protected]>
Date:   Sun May 9 21:28:46 2010 -0500

    Recognise call to update-menus when using 'exec'
    
    * checks/menus:
      + [RG] Recognise call to update-menus when using 'exec.'

diff --git a/checks/menus b/checks/menus
index 5595de4..fe97269 100644
--- a/checks/menus
+++ b/checks/menus
@@ -623,7 +623,7 @@ sub check_script {
        # 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*|[;&|]\s*|(?:then|do)\s+)(?:\/usr\/bin\/)?update-menus(?:\s|[;&|<>]|$)/)
 {
+       if 
(/(?:^\s*|[;&|]\s*|(?:then|do|exec)\s+)(?:\/usr\/bin\/)?update-menus(?:\s|[;&|<>]|$)/)
 {
            # yes, it does.
            $pres->{'calls-updatemenus'} = 1;
 
diff --git a/debian/changelog b/debian/changelog
index cb87add..dd57e71 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ lintian (2.4.2) UNRELEASED; urgency=low
   * checks/menu-format.desc:
     + [RA] Fix typo in long description of duplicated-key-in-desktop-entry.
       Thanks, Niels Thykier.  (Closes: #580700)
+  * checks/menus:
+    + [RG] Recognise call to update-menus when using 'exec.'
 
   * collection/objdump-info:
     + [RG] Disable etch compatibility code.

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to