From 815e6b02548575161d485ebe71ea96912f51ea5f Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Sat, 4 Aug 2018 09:44:39 +0200 Subject: exclude session files from validation --- check_desktop_files | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- cgit v1.2.1