summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-09-19 13:20:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-09-19 13:20:57 +0000
commit969469b7c94f420adda2705769f44fe0c3abd47e (patch)
tree33742c40755b8f436cc600e588e9640cdbe46456 /perl-install/install2.pm
parenteeb988a2c499ba48ae280454a7b305ab028a4c9e (diff)
downloaddrakx-969469b7c94f420adda2705769f44fe0c3abd47e.tar
drakx-969469b7c94f420adda2705769f44fe0c3abd47e.tar.gz
drakx-969469b7c94f420adda2705769f44fe0c3abd47e.tar.bz2
drakx-969469b7c94f420adda2705769f44fe0c3abd47e.tar.xz
drakx-969469b7c94f420adda2705769f44fe0c3abd47e.zip
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 5cf71174b..4d3a78092 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -211,11 +211,11 @@ sub selectLanguage {
#------------------------------------------------------------------------------
sub selectMouse {
$::live and return;
- my ($clicked) = $_[0];
+ my ($first_time) = $_[1] == 1;
- add2hash($o->{mouse} ||= {}, mouse::read($o->{prefix})) if $o->{isUpgrade} && !$clicked;
+ add2hash($o->{mouse} ||= {}, mouse::read($o->{prefix})) if $o->{isUpgrade} && $first_time;
- $o->selectMouse($clicked);
+ $o->selectMouse(!$first_time);
addToBeDone { mouse::write($o->{prefix}, $o->{mouse}) } 'installPackages';
}
@@ -352,7 +352,7 @@ sub miscellaneous {
CLASS => $::expert && "expert" || $::beginner && "beginner" || "medium",
TYPE => $o->{installClass},
SECURITY => $o->{security},
- LITTLE_OIGNONS_WELL_FRIED => 'PowerPack', # Desktop
+ META_CLASS => $o->{meta_class} || 'PowerPack',
});
my $f = "$o->{prefix}/etc/sysconfig/usb";