2015-04-10 16:35:46 +02:00
|
|
|
From: Some One <nobody@opensuse.org>
|
|
|
|
Date: Thu, 9 Apr 2015 14:55:38 +0200
|
|
|
|
Subject: [PATCH] xdg-paths-update.diff
|
|
|
|
|
2011-04-21 12:12:02 +02:00
|
|
|
===================================================================
|
2015-04-10 16:35:46 +02:00
|
|
|
---
|
|
|
|
MenuXDGCheck.py | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/MenuXDGCheck.py b/MenuXDGCheck.py
|
|
|
|
index 4aab385..158db23 100644
|
|
|
|
--- a/MenuXDGCheck.py
|
|
|
|
+++ b/MenuXDGCheck.py
|
|
|
|
@@ -24,7 +24,7 @@ class MenuXDGCheck(AbstractCheck.AbstractFilesCheck):
|
|
|
|
# $ echo $XDG_DATA_DIRS/applications
|
2008-04-17 04:52:37 +02:00
|
|
|
# /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):
|
2013-06-28 15:29:34 +02:00
|
|
|
root = pkg.dirName()
|