aboutsummaryrefslogtreecommitdiffstats
path: root/check_desktop_files
diff options
context:
space:
mode:
Diffstat (limited to 'check_desktop_files')
-rwxr-xr-xcheck_desktop_files9
1 files changed, 2 insertions, 7 deletions
diff --git a/check_desktop_files b/check_desktop_files
index b9e479a..e640e11 100755
--- a/check_desktop_files
+++ b/check_desktop_files
@@ -23,13 +23,8 @@ sub main
{
wanted =>
sub {
- # xsession files are not *really* desktop files
- # https://bugs.freedesktop.org/show_bug.cgi?id=85938
- # 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/mga/dm';
+ # check files only in /usr/share/applications
+ return unless $File::Find::dir eq $buildroot . '/usr/share/applications';
my $fn = $File::Find::name;
if ($fn =~ $FILTER)