diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-09-02 09:06:43 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-09-02 09:06:43 +0000 |
commit | 67d56cfa0933862ef8c9330a3a0da873c9188a79 (patch) | |
tree | dcbccb35d825d4ac9b0dfc2e07f3e1c15ef47dc3 /perl-install/install_steps_interactive.pm | |
parent | cd149734943cb3afee3189320d68df3cc7c58eed (diff) | |
download | drakx-67d56cfa0933862ef8c9330a3a0da873c9188a79.tar drakx-67d56cfa0933862ef8c9330a3a0da873c9188a79.tar.gz drakx-67d56cfa0933862ef8c9330a3a0da873c9188a79.tar.bz2 drakx-67d56cfa0933862ef8c9330a3a0da873c9188a79.tar.xz drakx-67d56cfa0933862ef8c9330a3a0da873c9188a79.zip |
hoist things in install_any
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index a87b4caf5..cdd1cfebd 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -399,15 +399,7 @@ sub setPackages { my $w = $o->wait_message('', $o->{isUpgrade} ? N("Looking for available packages and rebuilding rpm database...") : N("Looking for available packages...")); - install_any::setPackages($o); - - $w->set(N("Looking at packages already installed...")); - pkgs::selectPackagesAlreadyInstalled($o->{packages}); - - if ($o->{isUpgrade}) { - $w->set(N("Finding packages to upgrade...")); - pkgs::selectPackagesToUpgrade($o->{packages}); - } + install_any::setPackages($o, sub { $w->set(@_) }); } sub mirror2text { $crypto::mirrors{$_[0]} ? $crypto::mirrors{$_[0]}[0] . '|' . $_[0] : "-|URL" } |