aboutsummaryrefslogtreecommitdiffstats
path: root/check_desktop_files
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@gmail.com>2018-08-06 19:39:27 +0200
committerGuillaume Rousse <guillomovitch@gmail.com>2018-08-06 19:39:27 +0200
commit70f6cbc55577bb10827657a52a6d40670ac261a7 (patch)
tree03c1e178786a09dda7eb40a5cdc9dc0ca5adebb6 /check_desktop_files
parent65032b41c26090be66c3ff3b524953cda50decfa (diff)
downloadspec-helper-70f6cbc55577bb10827657a52a6d40670ac261a7.tar
spec-helper-70f6cbc55577bb10827657a52a6d40670ac261a7.tar.gz
spec-helper-70f6cbc55577bb10827657a52a6d40670ac261a7.tar.bz2
spec-helper-70f6cbc55577bb10827657a52a6d40670ac261a7.tar.xz
spec-helper-70f6cbc55577bb10827657a52a6d40670ac261a7.zip
exclude /usr/share/wayland-sessions too
Diffstat (limited to 'check_desktop_files')
-rwxr-xr-xcheck_desktop_files3
1 files changed, 2 insertions, 1 deletions
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)