summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>1999-12-20 19:19:39 +0000
committerFrancois Pons <fpons@mandriva.com>1999-12-20 19:19:39 +0000
commitdc9ba01917bf001fe0d5975f167cbb0ded79aa11 (patch)
tree3a7ec7ad754af7df31bb2d2a08caed20a0e04ed8 /perl-install/install2.pm
parenteb8ec6300ad08687136cc291be3eea311754a736 (diff)
downloaddrakx-backup-do-not-use-dc9ba01917bf001fe0d5975f167cbb0ded79aa11.tar
drakx-backup-do-not-use-dc9ba01917bf001fe0d5975f167cbb0ded79aa11.tar.gz
drakx-backup-do-not-use-dc9ba01917bf001fe0d5975f167cbb0ded79aa11.tar.bz2
drakx-backup-do-not-use-dc9ba01917bf001fe0d5975f167cbb0ded79aa11.tar.xz
drakx-backup-do-not-use-dc9ba01917bf001fe0d5975f167cbb0ded79aa11.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 75941b1c2..824c28149 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -310,7 +310,7 @@ sub partitionDisks {
cat_("/proc/mounts") =~ m|(\S+)\s+/tmp/rhimage nfs| &&
!grep { $_->{mntpoint} eq "/mnt/nfs" } @{$o->{manualFstab} || []} and
- push @{$o->{manualFstab}}, { type => "nfs", mntpoint => "/mnt/nfs", device => $1, options => "noauto,ro,rsize=8192,wsize=8192" };
+ push @{$o->{manualFstab}}, { type => "nfs", mntpoint => "/mnt/nfs", device => $1, options => "noauto,ro,nosuid,rsize=8192,wsize=8192" };
}
sub formatPartitions {
@@ -336,10 +336,12 @@ sub formatPartitions {
#------------------------------------------------------------------------------
sub choosePackages {
+ my ($clicked) = $_[0];
+
require pkgs;
$o->setPackages if $_[1] == 1;
$o->selectPackagesToUpgrade($o) if $o->{isUpgrade} && $_[1] == 1;
- unless ($o->{isUpgrade}) {
+ if ($clicked || !$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;