From b6435692a67adeef743fbca6677931b3e83370a8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 28 Mar 2014 21:14:22 +0100 Subject: fix not displaying contributors in about dialog (mga#13093) access to CREDITS was wrongly removed in befd324a2ef5f487e788bc6ed6c5de0dd7a9d751 --- NEWS | 2 ++ control-center | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 6ecd87de..511158b4 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- fix not displaying contributors in about dialog (mga#13093) + Version 12.51 - 25 January 2014, Colin Guthrie - do not exec pkexec but run it so it has a parent process to fix double fork diff --git a/control-center b/control-center index f0ff8c4c..b56e93ba 100755 --- a/control-center +++ b/control-center @@ -1450,7 +1450,7 @@ sub about_mga_cc() { my ($previous_type, $not_first_title, $not_first_block); my $locale = lang::read; require Gtk2::Pango; - foreach my $line (grep { $_ ne "\n" && !/^#/ } cat_(top(glob("/usr/share/doc/mageia-release-*/CREDITS.$locale->{lang}")))) { + foreach my $line (grep { $_ ne "\n" && !/^#/ } cat_(top(glob("/usr/share/doc/mageia-release-*/CREDITS"), glob("/usr/share/doc/mageia-release-*/CREDITS.$locale->{lang}")))) { if (my ($type, $comment, $contributor) = split(/\|/, $line, 3)) { last if !$type; $comment =~ s/^ //; # fix initial space of first section (CREDITS format should be enhanced to specify lines that really are sections) -- cgit v1.2.1