diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2005-09-02 09:52:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2005-09-02 09:52:51 +0000 |
commit | 39825fad12d081797d4b06ae27e59709cba61afd (patch) | |
tree | e47432c114de5b66e4257efeba8cf9e13160d019 /perl-install/install_steps_interactive.pm | |
parent | 67d56cfa0933862ef8c9330a3a0da873c9188a79 (diff) | |
download | drakx-39825fad12d081797d4b06ae27e59709cba61afd.tar drakx-39825fad12d081797d4b06ae27e59709cba61afd.tar.gz drakx-39825fad12d081797d4b06ae27e59709cba61afd.tar.bz2 drakx-39825fad12d081797d4b06ae27e59709cba61afd.tar.xz drakx-39825fad12d081797d4b06ae27e59709cba61afd.zip |
new function select_by_package_names()
Diffstat (limited to 'perl-install/install_steps_interactive.pm')
-rw-r--r-- | perl-install/install_steps_interactive.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm index cdd1cfebd..2c350ef16 100644 --- a/perl-install/install_steps_interactive.pm +++ b/perl-install/install_steps_interactive.pm @@ -504,10 +504,7 @@ The format is the same as auto_install generated files."), $o->ask_okcancel('', N("Bad file")) or return; } else { install_any::unselectMostPackages($o); - foreach (@{$O->{default_packages} || []}) { - my $pkg = pkgs::packageByName($packages, $_); - pkgs::selectPackage($packages, $pkg) if $pkg; - } + pkgs::select_by_package_names($packages, $O->{default_packages} || []); return 1; } } |