diff --git a/borg-gui.sh b/borg-gui.sh index 871ffa5..e1f1b1d 100755 --- a/borg-gui.sh +++ b/borg-gui.sh @@ -95,8 +95,6 @@ TestBorgRepo # MENU PRINCIPAL Gestion des options du menu ################################################################################# -while [ ! "$choixmenu" = "qu" ] -do choixmenu=$(echo -e "\ cs\nCréer une archive\n\ ms\nMonter une archive\n\ @@ -109,13 +107,17 @@ id\nInformation sur le dépôt\n\ ap\nAfficher le profil\n\ --\n------------------------------------------\n\ ed\nEspace disque utilisé : $(df -k --output=pcent $borg_repo | tail -n +2)\n\ +<<<<<<< HEAD qu\nQuitter\ " | zenity --window-icon=$HOME/.icons/borg.svg --list \ --height=$H --width=$W \ --title "BORG GUI : $nomsauvegarde" \ --hide-header --hide-column=1 --column "id" --column "choix") -if [ "$choixmenu" = "cs" ] ;then +if [ "$choixmenu" = "" ];then + + +elif [ "$choixmenu" = "cs" ] ;then # Créer une archive TestBorgRepo @@ -204,4 +206,3 @@ elif [ "$choixmenu" = "ap" ];then elif [ "$choixmenu" = "" ];then zenity --width=$W --info --text="Aucun choix, retour au menu." fi -done