diff --git a/profile-manager.sh b/profile-manager.sh index 5626124..a67eb24 100755 --- a/profile-manager.sh +++ b/profile-manager.sh @@ -128,7 +128,9 @@ zenity $W --info --text "Le dépôt à bien été ajouté.\nLancez «Borg Zenity elif [ "$choixmenu" = "ap" ];then fichierprofil=$(ls -1 *.conf | zenity $H $W --window-icon=borg --list --title "Liste des profils" --text "Choisir un profil dans la liste" --hide-header --column "profil") +if [ "$fichierprofil" != "" ];then zenity $W $H --info --text="$(cd "$dossierprofil" && cat "$fichierprofil")" +fi elif [ "$choixmenu" = "" ];then exit