summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-04-07 15:22:34 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-04-07 15:22:34 +0000
commit33ae907c153bb769ad187fb9c24274c009ba3ec3 (patch)
treead00f1b893d3049faf22bedb5f9bc2fdec9ec471
parentc2492bc29514d5bf0667394f38d82c6b7a360a69 (diff)
downloadcontrol-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-xcontrol-center2
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);