summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-31 10:19:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-31 10:19:47 +0000
commit4dd916de93d0065ebac5eda0690c23d9fda746a2 (patch)
tree00bf3dee765a8aaa1072e99ac0f4bc227b1ce409 /perl-install/install_steps.pm
parent2619950a37933ea6ec0175d92e7dcdc64fac7114 (diff)
downloaddrakx-4dd916de93d0065ebac5eda0690c23d9fda746a2.tar
drakx-4dd916de93d0065ebac5eda0690c23d9fda746a2.tar.gz
drakx-4dd916de93d0065ebac5eda0690c23d9fda746a2.tar.bz2
drakx-4dd916de93d0065ebac5eda0690c23d9fda746a2.tar.xz
drakx-4dd916de93d0065ebac5eda0690c23d9fda746a2.zip
create remove_marked_ask_remove() and use it
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 0afb51383..3bb6d8644 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -436,10 +436,7 @@ sub installPackages { #- complete REWORK, TODO and TOCHECK!
my ($o) = @_;
my $packages = $o->{packages};
- if (%{$packages->{state}{ask_remove} || {}}) {
- log::l("removing : ", join ', ', keys %{$packages->{state}{ask_remove}});
- pkgs::remove([ keys %{$packages->{state}{ask_remove}} ], $packages);
- }
+ pkgs::remove_marked_ask_remove($packages);
#- small transaction will be built based on this selection and depslist.
my @toInstall = pkgs::packagesToInstall($packages);