summaryrefslogtreecommitdiff
path: root/FilesCheck.py
diff options
context:
space:
mode:
Diffstat (limited to 'FilesCheck.py')
-rw-r--r--FilesCheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/FilesCheck.py b/FilesCheck.py
index e4ed138..224eb9c 100644
--- a/FilesCheck.py
+++ b/FilesCheck.py
@@ -1217,7 +1217,7 @@ class FilesCheck(AbstractCheck.AbstractCheck):
if nonexec_file and not docdir_examples_regex.search(f):
printWarning(pkg, 'spurious-executable-perm', f)
elif f.startswith('/etc/') and f not in config_files and \
- f not in ghost_files:
+ f not in ghost_files and not f.endswith(".desktop"):
printWarning(pkg, 'non-conffile-in-etc', f)
if pkg.arch == 'noarch' and f.startswith('/usr/lib64/python'):