mirror of https://gitlab.com/hp3icc/emq-TE1.git
Update update.sh
This commit is contained in:
parent
1ec84097c0
commit
ed315e560b
11
update.sh
11
update.sh
|
|
@ -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)" ;;
|
||||
|
|
|
|||
Loading…
Reference in New Issue