Update update.sh

This commit is contained in:
Esteban Mackay Q 2023-10-05 00:03:25 -05:00
parent 1ec84097c0
commit ed315e560b
1 changed files with 6 additions and 5 deletions

View File

@ -18,7 +18,8 @@ fi
case $choix in
1)
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/update-dash-dvs.sh)"
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/install/update-dash-dvs.sh)" &&
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/emq-TE1/-/raw/main/menu/menu-dvs)"
;;
2)
clear
@ -58,14 +59,14 @@ choix=$(whiptail --title "Raspbian Proyect HP3ICC Menu Avance Upgrade" --menu "N
2 " reinstall raspi-config " \
3 " Menu Principal " 3>&1 1>&2 2>&3)
exitstatus=$?
#on recupere ce choix
#exitstatus=$?
if [ $exitstatus = 0 ]; then
echo "Your chosen option:" $choix
else
echo "You chose cancel."; break;
echo "You chose cancel."
break
fi
# case : action en fonction du choix
case $choix in
1)
bash -c "$(curl -fsSL https://gitlab.com/hp3icc/DVSMU/-/raw/main/emq-dvsmu.sh)" ;;