summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-02 18:45:08 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-02 18:45:08 +0000
commit21b2e43991ea639be10656201b68132828a6e230 (patch)
treed1ce110b98b6d76dbf738a206becf7893f65b14f /perl-install/common.pm
parent04d55500a0ac3151a9da25147e287186aa947b62 (diff)
downloaddrakx-21b2e43991ea639be10656201b68132828a6e230.tar
drakx-21b2e43991ea639be10656201b68132828a6e230.tar.gz
drakx-21b2e43991ea639be10656201b68132828a6e230.tar.bz2
drakx-21b2e43991ea639be10656201b68132828a6e230.tar.xz
drakx-21b2e43991ea639be10656201b68132828a6e230.zip
(N) kill KDE like comment even if string doesn't have "\n" at end
thus fixing comment in license text
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r--perl-install/common.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm
index 7aea9bc17..ddd471cee 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -63,7 +63,7 @@ sub translate_real {
sub remove_translate_context {
my ($s) = @_;
#- translation with context, kde-like
- $s =~ s/^_:.*\n//;
+ $s =~ s/^_:.*(?:\n)?//g;
$s;
}