summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-12-12 23:42:03 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-12-12 23:42:03 +0000
commitaf2cfca0eb43b345daf9fc247124c009c0776420 (patch)
tree9c9965165e1eb3a2d4e08c4019601cc03406b446
parent3a5d3e83a3a32d442c294528d66adc0282013fd4 (diff)
downloaddrakx-af2cfca0eb43b345daf9fc247124c009c0776420.tar
drakx-af2cfca0eb43b345daf9fc247124c009c0776420.tar.gz
drakx-af2cfca0eb43b345daf9fc247124c009c0776420.tar.bz2
drakx-af2cfca0eb43b345daf9fc247124c009c0776420.tar.xz
drakx-af2cfca0eb43b345daf9fc247124c009c0776420.zip
use "askdisplay" to ask a question at begining of install for what
display you want to use during install
-rw-r--r--perl-install/install2.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index be04f5b4f..372bb9d32 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -390,6 +390,7 @@ sub main {
lnx4win => sub { $o->{lnx4win} = 1 },
readonly => sub { $o->{partitioning}{readonly} = $v ne "0" },
display => sub { $o->{display} = $v },
+ askdisplay => sub { print "Please enter the X11 display to perform the install on ? "; $o->{display} = chomp_(scalar(<STDIN>)) },
security => sub { $o->{security} = $v },
live => sub { $::live = 1 },
noauto => sub { $::noauto = 1 },