summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-08-18 15:02:54 +0000
committerOlivier Blin <oblin@mandriva.com>2008-08-18 15:02:54 +0000
commit8de6371f12ad9b2c3d6123a7d9eba0b84f050bea (patch)
treef9cd0a36ac3ab1b251a6f3030ee46cce12c09f11 /perl-install
parent4615703890a80718ae58319c54f3f51b8327b0f7 (diff)
downloaddrakx-8de6371f12ad9b2c3d6123a7d9eba0b84f050bea.tar
drakx-8de6371f12ad9b2c3d6123a7d9eba0b84f050bea.tar.gz
drakx-8de6371f12ad9b2c3d6123a7d9eba0b84f050bea.tar.bz2
drakx-8de6371f12ad9b2c3d6123a7d9eba0b84f050bea.tar.xz
drakx-8de6371f12ad9b2c3d6123a7d9eba0b84f050bea.zip
support reading rpmsrate in chroot (could be useful for live installs)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 21d4a3166..a9c88f4d2 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -143,7 +143,7 @@ sub read_rpmsrate {
sub simple_read_rpmsrate() {
require pkgs;
- my ($rates, $flags) = read_rpmsrate({}, {}, '/usr/share/meta-task/rpmsrate-raw', 0);
+ my ($rates, $flags) = read_rpmsrate({}, {}, $::prefix . '/usr/share/meta-task/rpmsrate-raw', 0);
grep { member('TRUE', @{$flags->{$_}}) && $rates->{$_} >= 5 } keys %$flags;
}