print current selection

This commit is contained in:
Heavybullets8 2022-07-26 16:52:32 -06:00
parent cdf7bf6401
commit b286877af0

View File

@ -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