2011-04-21 12:12:02 +02:00
|
|
|
Index: MenuXDGCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- MenuXDGCheck.py.orig
|
2008-04-17 04:52:37 +02:00
|
|
|
+++ MenuXDGCheck.py
|
2013-06-28 15:29:34 +02:00
|
|
|
@@ -21,7 +21,7 @@ class MenuXDGCheck(AbstractCheck.Abstrac
|
2008-04-17 04:52:37 +02:00
|
|
|
# /var/lib/menu-xdg:/usr/share
|
2013-06-28 15:29:34 +02:00
|
|
|
self.cfp = RawConfigParser()
|
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):
|
2013-06-28 15:29:34 +02:00
|
|
|
root = pkg.dirName()
|