summaryrefslogtreecommitdiffstats
path: root/perl-install/common.pm
diff options
context:
space:
mode:
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 92dc85b09..f3aa17273 100644
--- a/perl-install/common.pm
+++ b/perl-install/common.pm
@@ -409,7 +409,7 @@ sub load_modules_from_base {
sub get_alternatives {
my ($name) = @_;
- my $dir = '/var/lib/rpm/alternatives';
+ my $dir = $::prefix . '/var/lib/rpm/alternatives';
my ($state, $main_link, @l) = chomp_(cat_("$dir/$name")) or return;
my @slaves;
while (@l && $l[0] ne '') {