diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-08-10 20:48:21 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-08-10 20:48:21 +0100 |
commit | 2789e3ddda4cd4b37a551bdb3a8eb2cbed8b6c0e (patch) | |
tree | 81a4b47a650e96bbf8ca5e1043854451c7de9058 | |
parent | 95bd8e26bbf71c1519bdeb8a81b4538c1213466c (diff) | |
download | spec-helper-2789e3ddda4cd4b37a551bdb3a8eb2cbed8b6c0e.tar spec-helper-2789e3ddda4cd4b37a551bdb3a8eb2cbed8b6c0e.tar.gz spec-helper-2789e3ddda4cd4b37a551bdb3a8eb2cbed8b6c0e.tar.bz2 spec-helper-2789e3ddda4cd4b37a551bdb3a8eb2cbed8b6c0e.tar.xz spec-helper-2789e3ddda4cd4b37a551bdb3a8eb2cbed8b6c0e.zip |
Exclude mga/dm files from check_desktop_files
-rwxr-xr-x | check_desktop_files | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/check_desktop_files b/check_desktop_files index d541dfc..b9e479a 100755 --- a/check_desktop_files +++ b/check_desktop_files @@ -25,10 +25,11 @@ sub main sub { # xsession files are not *really* desktop files # https://bugs.freedesktop.org/show_bug.cgi?id=85938 - # nor are khelpcenter files + # nor are khelpcenter or mga/dm files return if $File::Find::dir eq $buildroot . '/usr/share/xsessions' || $File::Find::dir eq $buildroot . '/usr/share/wayland-sessions' || - $File::Find::dir eq $buildroot . '/usr/share/khelpcenter/plugins'; + $File::Find::dir eq $buildroot . '/usr/share/khelpcenter/plugins' || + $File::Find::dir eq $buildroot . '/usr/share/mga/dm'; my $fn = $File::Find::name; if ($fn =~ $FILTER) |