aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@gmail.com>2018-08-04 09:44:39 +0200
committerGuillaume Rousse <guillomovitch@gmail.com>2018-08-04 09:44:39 +0200
commit815e6b02548575161d485ebe71ea96912f51ea5f (patch)
tree21643268884ed6a8ed8aa37baa28757e01311dd2
parent2ec1e87e996253a10786e38b6294eef31fef366b (diff)
downloadspec-helper-815e6b02548575161d485ebe71ea96912f51ea5f.tar
spec-helper-815e6b02548575161d485ebe71ea96912f51ea5f.tar.gz
spec-helper-815e6b02548575161d485ebe71ea96912f51ea5f.tar.bz2
spec-helper-815e6b02548575161d485ebe71ea96912f51ea5f.tar.xz
spec-helper-815e6b02548575161d485ebe71ea96912f51ea5f.zip
exclude session files from validation
-rwxr-xr-xcheck_desktop_files4
1 files changed, 4 insertions, 0 deletions
diff --git a/check_desktop_files b/check_desktop_files
index e84871e..d51935f 100755
--- a/check_desktop_files
+++ b/check_desktop_files
@@ -15,6 +15,10 @@ sub main
{
wanted =>
sub {
+ # xsession files are not *really* desktop files
+ # https://bugs.freedesktop.org/show_bug.cgi?id=85938
+ return if $File::Find::dir eq $builroot . '/usr/share/session';
+
my $fn = $File::Find::name;
if ($fn =~ $FILTER)
{