summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-06-13 18:43:18 +0000
committerThierry Vignaud <tv@mageia.org>2012-06-13 18:43:18 +0000
commitb6b5ffc158a8fe35e5848f9bd7b65661df423db8 (patch)
tree7d24ee195c424dab0336cd4140108a3b2f79eb36 /urpm/install.pm
parent0922c4d0fd01a213c1f46fa33732a5f66a370077 (diff)
downloadurpmi-b6b5ffc158a8fe35e5848f9bd7b65661df423db8.tar
urpmi-b6b5ffc158a8fe35e5848f9bd7b65661df423db8.tar.gz
urpmi-b6b5ffc158a8fe35e5848f9bd7b65661df423db8.tar.bz2
urpmi-b6b5ffc158a8fe35e5848f9bd7b65661df423db8.tar.xz
urpmi-b6b5ffc158a8fe35e5848f9bd7b65661df423db8.zip
(install) adapt to URPM-4.2
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 3dd97302..0ac6e1a9 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -162,7 +162,7 @@ sub install {
my $db = urpm::db_open_or_die_($urpm, !$options{test}); #- open in read/write mode unless testing installation.
- my $trans = $db->create_transaction($urpm->{root});
+ my $trans = $db->create_transaction();
if ($trans) {
sys_log("transaction on %s (remove=%d, install=%d, upgrade=%d)", $urpm->{root} || '/', scalar(@{$remove || []}), scalar(values %$install), scalar(values %$upgrade));
$urpm->{log}(N("created transaction for installing on %s (remove=%d, install=%d, upgrade=%d)", $urpm->{root} || '/',