summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-03-20 13:43:23 +0000
committerOlivier Blin <oblin@mandriva.com>2008-03-20 13:43:23 +0000
commit7d55aaf7807eacf7bf954282dffd433690a2d93b (patch)
tree3c62328f3ac6d3cfea907fe17d7d052a8cd7cdf8 /perl-install
parent51769b7c463d4c2809086df3dbd603cfc7d1cb5a (diff)
downloaddrakx-7d55aaf7807eacf7bf954282dffd433690a2d93b.tar
drakx-7d55aaf7807eacf7bf954282dffd433690a2d93b.tar.gz
drakx-7d55aaf7807eacf7bf954282dffd433690a2d93b.tar.bz2
drakx-7d55aaf7807eacf7bf954282dffd433690a2d93b.tar.xz
drakx-7d55aaf7807eacf7bf954282dffd433690a2d93b.zip
fix reading alternatives in install
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)