From 70f6cbc55577bb10827657a52a6d40670ac261a7 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Mon, 6 Aug 2018 19:39:27 +0200 Subject: exclude /usr/share/wayland-sessions too --- check_desktop_files | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'check_desktop_files') diff --git a/check_desktop_files b/check_desktop_files index 7f03a4d..2885a15 100755 --- a/check_desktop_files +++ b/check_desktop_files @@ -25,7 +25,8 @@ sub main sub { # xsession files are not *really* desktop files # https://bugs.freedesktop.org/show_bug.cgi?id=85938 - return if $File::Find::dir eq $buildroot . '/usr/share/xsessions'; + return if $File::Find::dir eq $buildroot . '/usr/share/xsessions' || + $File::Find::dir eq $buildroot . '/usr/share/wayland-sessions'; my $fn = $File::Find::name; if ($fn =~ $FILTER) -- cgit v1.2.1