summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-02-28 17:14:36 +0000
committerFrancois Pons <fpons@mandriva.com>2002-02-28 17:14:36 +0000
commitf3a0727da3aadc507ec795229a817fe283c20170 (patch)
treeaa520e5abad91e3eebc785663bca7e2c56e405b0 /urpm.pm
parent7b66a6a68152439f05f47f641d3a82ab02742f7f (diff)
downloadurpmi-f3a0727da3aadc507ec795229a817fe283c20170.tar
urpmi-f3a0727da3aadc507ec795229a817fe283c20170.tar.gz
urpmi-f3a0727da3aadc507ec795229a817fe283c20170.tar.bz2
urpmi-f3a0727da3aadc507ec795229a817fe283c20170.tar.xz
urpmi-f3a0727da3aadc507ec795229a817fe283c20170.zip
3.3-17mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 0494201a..81b529a6 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1497,7 +1497,7 @@ sub parse_synthesis {
sub filter_packages_to_upgrade {
my ($urpm, $packages, $select_choices, %options) = @_;
my ($id, %track, %track_requires, %installed, %selected, %conflicts);
- my ($db, @packages) = (rpmtools::db_open(''), keys %$packages);
+ my ($db, @packages) = (rpmtools::db_open($options{root}), keys %$packages);
my $sig_handler = sub { rpmtools::db_close($db); exit 3 };
local $SIG{INT} = $sig_handler;
local $SIG{QUIT} = $sig_handler;