summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
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";