summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-04-09 09:38:20 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-04-09 09:38:20 +0000
commit96d5556deb8427ec2e2dd183c99e80f430043d49 (patch)
treed743ae3ca82c7e7378f36130a902cd39f621baf6 /perl-install/lang.pm
parentaec5ff9f9ad681ee808ee3cc142ee57ac799a5ff (diff)
downloaddrakx-96d5556deb8427ec2e2dd183c99e80f430043d49.tar
drakx-96d5556deb8427ec2e2dd183c99e80f430043d49.tar.gz
drakx-96d5556deb8427ec2e2dd183c99e80f430043d49.tar.bz2
drakx-96d5556deb8427ec2e2dd183c99e80f430043d49.tar.xz
drakx-96d5556deb8427ec2e2dd183c99e80f430043d49.zip
(lang::write_langs) drop prefix parameter
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 8002255af..22d78b5ad 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -904,10 +904,10 @@ sub read {
}
sub write_langs {
- my ($prefix, $langs) = @_;
+ my ($langs) = @_;
my $s = pack_langs($langs);
- symlink "$prefix/etc/rpm", "/etc/rpm" if $prefix;
- substInFile { s/%_install_langs.*//; $_ .= "%_install_langs $s\n" if eof && $s } "$prefix/etc/rpm/macros";
+ symlink "$::prefix/etc/rpm", "/etc/rpm" if $::prefix;
+ substInFile { s/%_install_langs.*//; $_ .= "%_install_langs $s\n" if eof && $s } "$::prefix/etc/rpm/macros";
}
sub i18n_env {