summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_interactive.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-09-02 09:52:51 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-09-02 09:52:51 +0000
commit39825fad12d081797d4b06ae27e59709cba61afd (patch)
treee47432c114de5b66e4257efeba8cf9e13160d019 /perl-install/install_steps_interactive.pm
parent67d56cfa0933862ef8c9330a3a0da873c9188a79 (diff)
downloaddrakx-backup-do-not-use-39825fad12d081797d4b06ae27e59709cba61afd.tar
drakx-backup-do-not-use-39825fad12d081797d4b06ae27e59709cba61afd.tar.gz
drakx-backup-do-not-use-39825fad12d081797d4b06ae27e59709cba61afd.tar.bz2
drakx-backup-do-not-use-39825fad12d081797d4b06ae27e59709cba61afd.tar.xz
drakx-backup-do-not-use-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.pm5
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;
}
}