forked from pool/rpmlint
698597df8c
Copy from Base:System/rpmlint based on submit request 36612 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/36612 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint?expand=0&rev=55
12 lines
462 B
Diff
12 lines
462 B
Diff
--- MenuXDGCheck.py
|
|
+++ MenuXDGCheck.py
|
|
@@ -18,7 +18,7 @@
|
|
# $ echo $XDG_DATA_DIRS/applications
|
|
# /var/lib/menu-xdg:/usr/share
|
|
AbstractCheck.AbstractFilesCheck.__init__(
|
|
- self, "MenuXDGCheck", "/usr/share/applications/.*\.desktop$")
|
|
+ self, "MenuXDGCheck", "(?:/usr/share|/etc/opt/.*/share|/opt/.*)/applications/.*\.desktop$")
|
|
|
|
def check_file(self, pkg, filename):
|
|
f = pkg.dirName() + filename
|