summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-28 15:31:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-28 15:31:57 +0000
commit90f8406ba21657b75f123e483b0cea7724cb0d8d (patch)
tree2b7b1b40eb841c8d8e5ff5cb298ba9ee501c0b1c /perl-install/lang.pm
parentbc7f2842f5bd9fb4a1bb6058ae99ee3fe284d5a5 (diff)
downloaddrakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.tar
drakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.tar.gz
drakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.tar.bz2
drakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.tar.xz
drakx-90f8406ba21657b75f123e483b0cea7724cb0d8d.zip
- bundle /etc/rpm/platform for rpm 4.4.8
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index d7fe7c943..00913c111 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1021,7 +1021,7 @@ sub read {
sub write_langs {
my ($langs) = @_;
my $s = pack_langs($langs);
- symlink "$::prefix/etc/rpm", "/etc/rpm" if $::prefix;
+ symlink "$::prefix/etc/rpm/macros", "/etc/rpm/macros" if $::prefix;
require URPM;
URPM::add_macro("_install_langs $s");
substInFile { s/%_install_langs.*//; $_ .= "%_install_langs $s\n" if eof && $s } "$::prefix/etc/rpm/macros";