summaryrefslogtreecommitdiff
path: root/FilesCheck.py
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2013-02-06 13:11:09 -0800
committerAnas Nashif <anas.nashif@intel.com>2013-02-06 17:32:17 -0800
commit307d6c5fdce99055b6769084640c74b581287dd2 (patch)
treee4a78b0c5ba2c254b5865ff9436aeef474ad2e57 /FilesCheck.py
parent76938cc89c8ceeb0af0a1ded2475dad377e0b41c (diff)
downloadrpmlint-307d6c5fdce99055b6769084640c74b581287dd2.tar.gz
rpmlint-307d6c5fdce99055b6769084640c74b581287dd2.tar.bz2
rpmlint-307d6c5fdce99055b6769084640c74b581287dd2.zip
extend-suse-conffiles-check.diff
===================================================================
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'):