diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-28 09:30:02 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-28 09:30:02 +0000 |
commit | 649015ba83578ac4a5b89242ccb1a50c630afa4f (patch) | |
tree | 7d91a2866b2283e3c4fad80d92066d087896fe97 /perl-install/diskdrake/interactive.pm | |
parent | 27098585a79fc10be1d9c627da51ed49f4611d1d (diff) | |
download | drakx-backup-do-not-use-649015ba83578ac4a5b89242ccb1a50c630afa4f.tar drakx-backup-do-not-use-649015ba83578ac4a5b89242ccb1a50c630afa4f.tar.gz drakx-backup-do-not-use-649015ba83578ac4a5b89242ccb1a50c630afa4f.tar.bz2 drakx-backup-do-not-use-649015ba83578ac4a5b89242ccb1a50c630afa4f.tar.xz drakx-backup-do-not-use-649015ba83578ac4a5b89242ccb1a50c630afa4f.zip |
in "Mount point", by default choose the default proposition (asked by dadou for smb)
Diffstat (limited to 'perl-install/diskdrake/interactive.pm')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index a30d32b45..6d482e8af 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -586,14 +586,14 @@ Remove the loopback first")), return 1; } } sub Mount_point_raw_hd { - my ($in, $part, $all_hds, $propositions) = @_; + my ($in, $part, $all_hds, @propositions) = @_; - my $mntpoint = $part->{mntpoint}; + my $mntpoint = $part->{mntpoint} || shift @propositions; $in->ask_from( '', _("Where do you want to mount %s?", $part->{device}), [ { label => _("Mount point"), val => \$mntpoint, - list => [ if_($mntpoint, $mntpoint), '', @$propositions ], + list => [ if_($mntpoint, $mntpoint), '', @propositions ], not_edit => 0 } ], complete => sub { $part->{mntpoint} eq $mntpoint || check_mntpoint($in, $mntpoint, {}, $part, $all_hds) or return 1; |