Requires user input to install new modules.
This commit is contained in:
parent
48408ac5be
commit
4669bd660d
1 changed files with 1 additions and 2 deletions
|
|
@ -373,8 +373,7 @@ sub prompt {
|
|||
print "\n".$question." ";
|
||||
print "{".join("|",@answers)."} " if ($#answers > 0);
|
||||
print "[".$default."] " if (defined $default);
|
||||
# my $answer = <STDIN>;
|
||||
my $answer = 'y';
|
||||
my $answer = <STDIN>;
|
||||
chomp $answer;
|
||||
$answer = $default if ($answer eq "");
|
||||
$answer = prompt($question,$default,@answers) if (($#answers > 0 && !(isIn($answer,@answers))) || $answer eq "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue