Output cleanup for whiptail

This commit is contained in:
2020-10-09 15:09:58 +02:00
parent abe8aefb10
commit 0cb3113ede
4 changed files with 6 additions and 6 deletions

View File

@@ -85,7 +85,7 @@ fi
if [ $IMODE = n ]; then
PasswordQuest
option=$(whiptail --title "Title" --checklist "Features" 11 110 5 "${options[@]}" 3>&1 1>&2 2>&3)
option=$(whiptail --title "Config" --checklist "Features" 11 110 5 "${options[@]}" 3>&1 1>&2 2>&3)
[[ "$?" = 1 ]] && msg " Quiting installer" 8 78 && exit;
fi
@@ -150,7 +150,6 @@ option="$option""$aonoption"
msg " Generating apt list for Options"
for val1 in ${option[*]}; do
echo "$val1" #TMP
modListed=$(curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/extModules.list|grep "$val1")
#Checking
if test -z "$modListed"
@@ -200,7 +199,7 @@ done
msg " Running preconf for Options"
for val1 in ${option[*]}; do
echo "$val1" #TMP
msg "Pre-configuring $val1"
modListed=$(curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/extModules.list|grep "$val1")
#Checking
if test -z "$modListed"
@@ -239,7 +238,7 @@ cat /tmp/pkg.list | xargs $PKGI
msg " Running conf for Options"
for val1 in ${option[*]}; do
echo "$val1" #TMP
msg "Configuring $val1"
modListed=$(curl --retry 7 --retry-delay 5 -s "$repo"/raw/"$branchtype"/"$branch"/extModules.list|grep "$val1")
#Checking
if test -z "$modListed"