print current selection
This commit is contained in:
parent
cdf7bf6401
commit
b286877af0
@ -100,6 +100,11 @@ menu(){
|
|||||||
echo "0) Done making selections, proceed with update"
|
echo "0) Done making selections, proceed with update"
|
||||||
echo
|
echo
|
||||||
read -rt 600 -p "Please type the number associated with the flag above: " current_selection
|
read -rt 600 -p "Please type the number associated with the flag above: " current_selection
|
||||||
|
|
||||||
|
for i in "${current_selection[@]}"
|
||||||
|
do
|
||||||
|
echo "$i"
|
||||||
|
done
|
||||||
if [[ $current_selection == 0 ]]; then
|
if [[ $current_selection == 0 ]]; then
|
||||||
exec bash "$script_name" "${update_selection[@]}"
|
exec bash "$script_name" "${update_selection[@]}"
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user