info sauvegarde et info depot entre <tt>

This commit is contained in:
Djan GICQUEL 2021-03-10 18:42:57 +01:00
parent 5a929d5cda
commit 19cbd61a0d

View File

@ -130,11 +130,11 @@ elif [ "$choixmenu" = "supprimmer_sauvegarde" ];then
elif [ "$choixmenu" = "info_sauvegarde" ];then elif [ "$choixmenu" = "info_sauvegarde" ];then
borg_archive=$(borg list --short $borg_repo | zenity --height=500 --list --title "Listes des archives" --column "Archive") borg_archive=$(borg list --short $borg_repo | zenity --height=500 --list --title "Listes des archives" --column "Archive")
info=$(borg info $borg_repo::$borg_archive) info=$(borg info $borg_repo::$borg_archive)
zenity --width=600 --info --text="$info" zenity --width=600 --info --text="<tt>$info</tt>"
elif [ "$choixmenu" = "info_depot" ];then elif [ "$choixmenu" = "info_depot" ];then
info=$(borg info $borg_repo) info=$(borg info $borg_repo)
zenity --width=600 --info --text="$info" zenity --width=600 --info --text="<tt>$info</tt>"
elif [ "$choixmenu" = "afficher_profil" ];then elif [ "$choixmenu" = "afficher_profil" ];then
info=$(cd $dossierprofil && cat $fichierprofil) info=$(cd $dossierprofil && cat $fichierprofil)