aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-20 10:22:50 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-20 10:22:50 +0000
commit266d3bae8dc4342ca91da7ea4b7e4c47a0b6d589 (patch)
treec2788071c4d2848cd6a625d2dcd8004856d7d194 /Rpmdrake
parent11e76d2a686ebfa1676416d0a75c6b0e6c7a5bbc (diff)
downloadrpmdrake-266d3bae8dc4342ca91da7ea4b7e4c47a0b6d589.tar
rpmdrake-266d3bae8dc4342ca91da7ea4b7e4c47a0b6d589.tar.gz
rpmdrake-266d3bae8dc4342ca91da7ea4b7e4c47a0b6d589.tar.bz2
rpmdrake-266d3bae8dc4342ca91da7ea4b7e4c47a0b6d589.tar.xz
rpmdrake-266d3bae8dc4342ca91da7ea4b7e4c47a0b6d589.zip
(get_pkgs,perform_installation) rename urpm->{rpmdrake_state} as urpm->{state}
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index a8aa259a..c616483f 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -353,7 +353,7 @@ sub get_pkgs {
$urpm->compute_installed_flags($db); # TODO/FIXME: not for updates
$urpm->{depslist}[$_]->set_flag_installed foreach keys %$requested; #- pretend it's installed
}
- $urpm->{rpmdrake_state} = $state; #- Don't forget it
+ $urpm->{state} = $state; #- Don't forget it
$gurpm->progress($level = 0.7);
my @search_medias = grep { $_->{searchmedia} } @{$urpm->{media}};
@@ -509,7 +509,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
my $lock = urpm::lock::urpmi_db($urpm);
my $rpm_lock = urpm::lock::rpm_db($urpm, 'exclusive');
- my $state = $probe_only_for_updates ? { } : $urpm->{rpmdrake_state};
+ my $state = $probe_only_for_updates ? { } : $urpm->{state};
# select packages to install:
$urpm->resolve_requested(open_rpm_db(), $state, { map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}} },