diff options
author | Thierry Vignaud <tv@mandriva.org> | 2007-09-20 10:22:50 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2007-09-20 10:22:50 +0000 |
commit | 266d3bae8dc4342ca91da7ea4b7e4c47a0b6d589 (patch) | |
tree | c2788071c4d2848cd6a625d2dcd8004856d7d194 | |
parent | 11e76d2a686ebfa1676416d0a75c6b0e6c7a5bbc (diff) | |
download | rpmdrake-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}
-rw-r--r-- | Rpmdrake/pkg.pm | 4 |
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}} }, |