2011-04-21 12:12:02 +02:00
|
|
|
Index: MenuXDGCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- MenuXDGCheck.py.orig
|
2008-04-17 04:52:37 +02:00
|
|
|
+++ MenuXDGCheck.py
|
2011-04-21 12:12:02 +02:00
|
|
|
@@ -18,7 +18,7 @@ class MenuXDGCheck(AbstractCheck.Abstrac
|
2008-04-17 04:52:37 +02:00
|
|
|
# $ echo $XDG_DATA_DIRS/applications
|
|
|
|
# /var/lib/menu-xdg:/usr/share
|
2010-04-01 16:20:38 +02:00
|
|
|
AbstractCheck.AbstractFilesCheck.__init__(
|
|
|
|
- self, "MenuXDGCheck", "/usr/share/applications/.*\.desktop$")
|
|
|
|
+ self, "MenuXDGCheck", "(?:/usr/share|/etc/opt/.*/share|/opt/.*)/applications/.*\.desktop$")
|
2008-04-17 04:52:37 +02:00
|
|
|
|
|
|
|
def check_file(self, pkg, filename):
|
|
|
|
f = pkg.dirName() + filename
|