It does not recurse into the "applications" sub-directories because it tries to use a "_" stat cache incorrectly.

--- fvwm-menu-desktop.in.orig   2012-01-18 05:22:44.000000000 -0500
+++ fvwm-menu-desktop.in        2013-12-09 20:49:37.000000000 -0500
@@ -477,11 +477,11 @@
     {
         if ($entry =~ /\.desktop$/)
         {
             read_desktop_entry($pool, "$dir/$entry", $topdir);
         }
-        elsif (-d _ and $entry !~ /^\.{1,2}$/
+        elsif (-d "$dir/$entry" and $entry !~ /^\.{1,2}$/
                 and $entry ne '.hidden')
         {
             scan_AppDir($pool, "$dir/$entry", $topdir);
             delete $__scanmap{$dir};
         }

Reply via email to