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 --- control-center | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'control-center') 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