summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-12-21 11:05:47 +0000
committerFrancois Pons <fpons@mandriva.com>1999-12-21 11:05:47 +0000
commitf56350762a1516bad6d7d8fa74e9395d50c81ea3 (patch)
tree450f3c1c72c4bd3607e184250cf089b832d7e9f2 /perl-install/install2.pm
parent292ab23b4f99d41c6597217d9295ea56e65b9878 (diff)
downloaddrakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.tar
drakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.tar.gz
drakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.tar.bz2
drakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.tar.xz
drakx-f56350762a1516bad6d7d8fa74e9395d50c81ea3.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index bb90b8dce..0b5b3c09c 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -334,12 +334,10 @@ sub formatPartitions {
#------------------------------------------------------------------------------
sub choosePackages {
- my ($clicked) = $_[0];
-
require pkgs;
$o->setPackages if $_[1] == 1;
$o->selectPackagesToUpgrade($o) if $o->{isUpgrade} && $_[1] == 1;
- if ($clicked || !$o->{isUpgrade}) {
+ if ($_[1] > 1 || !$o->{isUpgrade}) {
$o->choosePackages($o->{packages}, $o->{compss},
$o->{compssUsers}, $o->{compssUsersSorted}, $_[1] == 1);
pkgs::unselect($o->{packages}, $o->{packages}{kdesu}) if $o->{packages}{kdesu} && $o->{security} > 3;