summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/common.pm2
-rw-r--r--perl-install/install/NEWS2
2 files changed, 3 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 '') {
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 33853500f..08ceceac7 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,5 @@
+- fix reading alternatives in install
+
Version 10.17 - 20 March 2008
- do not unconfigure timezone if timezone screen is canceled (#33565)