diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-04-09 09:38:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-04-09 09:38:20 +0000 |
commit | 96d5556deb8427ec2e2dd183c99e80f430043d49 (patch) | |
tree | d743ae3ca82c7e7378f36130a902cd39f621baf6 /perl-install/lang.pm | |
parent | aec5ff9f9ad681ee808ee3cc142ee57ac799a5ff (diff) | |
download | drakx-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.pm | 6 |
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 { |