diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-08-10 18:25:10 +0100 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-08-10 18:25:10 +0100 |
commit | 303d22855c9b07d7244668e2cc664d3e644766bd (patch) | |
tree | e8f9dabbb870dc321411aa56b6415f7fd8636014 | |
parent | ea2888ad007f4e0e26a68a242763967f2e962abe (diff) | |
download | spec-helper-303d22855c9b07d7244668e2cc664d3e644766bd.tar spec-helper-303d22855c9b07d7244668e2cc664d3e644766bd.tar.gz spec-helper-303d22855c9b07d7244668e2cc664d3e644766bd.tar.bz2 spec-helper-303d22855c9b07d7244668e2cc664d3e644766bd.tar.xz spec-helper-303d22855c9b07d7244668e2cc664d3e644766bd.zip |
Exclude khelpcenter files from check_desktop_files
-rwxr-xr-x | check_desktop_files | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/check_desktop_files b/check_desktop_files index 2885a15..d541dfc 100755 --- a/check_desktop_files +++ b/check_desktop_files @@ -25,8 +25,10 @@ sub main sub { # xsession files are not *really* desktop files # https://bugs.freedesktop.org/show_bug.cgi?id=85938 + # nor are khelpcenter 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/wayland-sessions' || + $File::Find::dir eq $buildroot . '/usr/share/khelpcenter/plugins'; my $fn = $File::Find::name; if ($fn =~ $FILTER) |