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(-)
|
|
|
|
|
2017-09-28 13:35:09 +02:00
|
|
|
Index: rpmlint-rpmlint-1.10/MenuXDGCheck.py
|
|
|
|
===================================================================
|
|
|
|
--- rpmlint-rpmlint-1.10.orig/MenuXDGCheck.py
|
|
|
|
+++ rpmlint-rpmlint-1.10/MenuXDGCheck.py
|
|
|
|
@@ -25,7 +25,7 @@ class MenuXDGCheck(AbstractCheck.Abstrac
|
2015-04-10 16:35:46 +02:00
|
|
|
# $ 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__(
|
2017-09-28 13:35:09 +02:00
|
|
|
- self, "MenuXDGCheck", r"/usr/share/applications/.*\.desktop$")
|
|
|
|
+ self, "MenuXDGCheck", r"(?:/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()
|