diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-04-07 15:22:34 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-04-07 15:22:34 +0000 |
commit | 33ae907c153bb769ad187fb9c24274c009ba3ec3 (patch) | |
tree | ad00f1b893d3049faf22bedb5f9bc2fdec9ec471 | |
parent | c2492bc29514d5bf0667394f38d82c6b7a360a69 (diff) | |
download | control-center-33ae907c153bb769ad187fb9c24274c009ba3ec3.tar control-center-33ae907c153bb769ad187fb9c24274c009ba3ec3.tar.gz control-center-33ae907c153bb769ad187fb9c24274c009ba3ec3.tar.bz2 control-center-33ae907c153bb769ad187fb9c24274c009ba3ec3.tar.xz control-center-33ae907c153bb769ad187fb9c24274c009ba3ec3.zip |
(about_mdk_cc) ignore comments in CREDITS
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index 3ca04844..dff60137 100755 --- a/control-center +++ b/control-center @@ -1827,7 +1827,7 @@ sub about_mdk_cc() { $tree_model->append_set(undef, [ map_index { $::i => $_ } @$row ]); } - foreach my $line (grep { $_ ne "\n" } cat_(top(glob("/usr/share/doc/mandrakelinux-release-*/CREDITS")))) { + foreach my $line (grep { $_ ne "\n" && !/^#/ } cat_(top(glob("/usr/share/doc/mandrakelinux-release-*/CREDITS")))) { if ($line =~ /^\s*\* (.*)$/) { my ($contributor, $descr) = split(/:\s*/, $1, 2); chomp($descr); |