summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_auto_install.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-05 12:07:44 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-05 12:07:44 +0000
commit25365fea641e9e5bcec2372695c9438d099b78eb (patch)
tree245722baac92b6fa9b04ec663408d7b00ea44694 /perl-install/install_steps_auto_install.pm
parent923889728b1fbc379cd598191c0548690824b146 (diff)
downloaddrakx-backup-do-not-use-25365fea641e9e5bcec2372695c9438d099b78eb.tar
drakx-backup-do-not-use-25365fea641e9e5bcec2372695c9438d099b78eb.tar.gz
drakx-backup-do-not-use-25365fea641e9e5bcec2372695c9438d099b78eb.tar.bz2
drakx-backup-do-not-use-25365fea641e9e5bcec2372695c9438d099b78eb.tar.xz
drakx-backup-do-not-use-25365fea641e9e5bcec2372695c9438d099b78eb.zip
no_comment
Diffstat (limited to 'perl-install/install_steps_auto_install.pm')
-rw-r--r--perl-install/install_steps_auto_install.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/install_steps_auto_install.pm b/perl-install/install_steps_auto_install.pm
index 4b585f7e6..0ff5743b5 100644
--- a/perl-install/install_steps_auto_install.pm
+++ b/perl-install/install_steps_auto_install.pm
@@ -14,7 +14,7 @@ use modules;
#-######################################################################################
#- misc imports
#-######################################################################################
-use common qw(:common);
+use common qw(:common :functional);
use install_steps;
use log;
@@ -70,6 +70,11 @@ sub selectLanguage {
lang::load_console_font($o->{lang});
}
+sub installPackages {
+ my ($o, $packages) = @_;
+ catch_cdie { $o->install_steps::installPackages($packages) } sub { print "$@\n"; 1 }
+}
+
sub exitInstall {
my ($o, $alldone) = @_;
return if $o->{autoExitInstall};