2010-04-01 16:20:38 +02:00
|
|
|
--- MenuXDGCheck.py
|
2008-04-17 04:52:37 +02:00
|
|
|
+++ MenuXDGCheck.py
|
2010-04-01 16:20:38 +02:00
|
|
|
@@ -18,7 +18,7 @@
|
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
|