blob: 974e21c23a5fdfbcbd9edd36a22bc2539d404351 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
package install_steps_stdio;
use diagnostics;
use strict;
use vars qw(@ISA);
@ISA = qw(install_steps_interactive interactive_stdio);
use common qw(:common);
use interactive_stdio;
use install_steps_interactive;
use lang;
sub new($$) {
my ($type, $o) = @_;
$o->{partitioning}{readonly} = 1; #- needed til diskdrake is graphic only...
(bless {}, ref $type || $type)->SUPER::new($o);
}
sub enteringStep {
my ($o, $step) = @_;
print _("Entering step `%s'\n", translate($o->{steps}{$step}{text}));
$o->SUPER::enteringStep($step);
}
sub leavingStep {
my ($o, $step) = @_;
$o->SUPER::leavingStep($step);
print "--------\n";
}
#-######################################################################################
#- Steps Functions
#-######################################################################################
sub selectLanguage {
my ($o, $first_time) = @_;
$o->SUPER::selectLanguage($first_time);
lang::load_console_font($o->{lang});
}
1;
|