From: Jay Sternberg Date: Fri, 17 Feb 2017 18:00:17 +0000 (-0800) Subject: correct install.pl handling of select menu X-Git-Tag: vofed-4.8-rc4~10 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=6cedb8c99fc8ffe6f4ff5bd54a8c5caff90d5060;p=~vlad%2Fofed_scripts.git correct install.pl handling of select menu The select menu removed handling of HPC option but the values checked to determine what action to take where not updated. This fixes the issue of not being able to select a custom configuration. Signed-off-by: Jay Sternberg Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index 5945359..c5bdce7 100755 --- a/install.pl +++ b/install.pl @@ -51,9 +51,8 @@ my $KEY_CNTL_C=3; my $KEY_ENTER=13; my $BASIC = 1; -my $HPC = 2; -my $ALL = 3; -my $CUSTOM = 4; +my $ALL = 2; +my $CUSTOM = 3; my $interactive = 1; my $quiet = 0; @@ -1414,7 +1413,7 @@ sub show_menu elsif ($menu eq "select") { print "$PACKAGE Distribution Software Installation Menu\n\n"; print " 1) Basic ($PACKAGE modules and basic user level libraries)\n"; - print " 2) All packages (all of Basic, HPC)\n"; + print " 2) All packages\n"; print " 3) Customize\n"; print "\n Q) Exit\n"; $max_inp=3;