aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-08-10 18:25:10 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-08-10 18:25:10 +0100
commit303d22855c9b07d7244668e2cc664d3e644766bd (patch)
treee8f9dabbb870dc321411aa56b6415f7fd8636014
parentea2888ad007f4e0e26a68a242763967f2e962abe (diff)
downloadspec-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-xcheck_desktop_files4
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)