diff options
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | check_desktop_files | 9 |
2 files changed, 4 insertions, 7 deletions
@@ -1,3 +1,5 @@ + * check .desktop files only in /usr/share/applications + 2018-08-26 Jani Välimaa <wally@mageia.org> 0.31.20 * clean_perl: clean perl stuff only from $RPM_BUILD_ROOT 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) |