SHA256
1
0
forked from pool/rpmlint
rpmlint/xdg-paths-update.diff

13 lines
552 B
Diff
Raw Normal View History

--- MenuXDGCheck.py
+++ MenuXDGCheck.py
@@ -16,7 +16,8 @@
# desktop file need to be in $XDG_DATA_DIRS
# $ echo $XDG_DATA_DIRS/applications
# /var/lib/menu-xdg:/usr/share
- AbstractCheck.AbstractFilesCheck.__init__(self, "MenuXDGCheck", "/usr/share/applications/.*\.desktop$")
+ AbstractCheck.AbstractFilesCheck.__init__(self, "MenuXDGCheck",
+ "(?:/usr/share|/etc/opt/.*/share|/opt/.*)/applications/.*\.desktop$")
def check_file(self, pkg, filename):
f = pkg.dirName() + filename