aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
{