Merge branch 'dev' into HEAD

This commit is contained in:
Djan GICQUEL 2021-07-25 16:28:22 +02:00
commit 978e3a7360
1 changed files with 5 additions and 4 deletions

View File

@ -95,8 +95,6 @@ TestBorgRepo
# MENU PRINCIPAL Gestion des options du menu # MENU PRINCIPAL Gestion des options du menu
################################################################################# #################################################################################
while [ ! "$choixmenu" = "qu" ]
do
choixmenu=$(echo -e "\ choixmenu=$(echo -e "\
cs\nCréer une archive\n\ cs\nCréer une archive\n\
ms\nMonter 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\ ap\nAfficher le profil\n\
--\n------------------------------------------\n\ --\n------------------------------------------\n\
ed\nEspace disque utilisé : $(df -k --output=pcent $borg_repo | tail -n +2)\n\ ed\nEspace disque utilisé : $(df -k --output=pcent $borg_repo | tail -n +2)\n\
<<<<<<< HEAD
qu\nQuitter\ qu\nQuitter\
" | zenity --window-icon=$HOME/.icons/borg.svg --list \ " | zenity --window-icon=$HOME/.icons/borg.svg --list \
--height=$H --width=$W \ --height=$H --width=$W \
--title "BORG GUI : $nomsauvegarde" \ --title "BORG GUI : $nomsauvegarde" \
--hide-header --hide-column=1 --column "id" --column "choix") --hide-header --hide-column=1 --column "id" --column "choix")
if [ "$choixmenu" = "cs" ] ;then if [ "$choixmenu" = "" ];then
elif [ "$choixmenu" = "cs" ] ;then
# Créer une archive # Créer une archive
TestBorgRepo TestBorgRepo
@ -204,4 +206,3 @@ elif [ "$choixmenu" = "ap" ];then
elif [ "$choixmenu" = "" ];then elif [ "$choixmenu" = "" ];then
zenity --width=$W --info --text="Aucun choix, retour au menu." zenity --width=$W --info --text="Aucun choix, retour au menu."
fi fi
done