From 145894091a1f2ceeb1866c02a14bf1f21929e6cf Mon Sep 17 00:00:00 2001 From: Djan GICQUEL <> Date: Mon, 4 Jul 2022 11:01:05 +0200 Subject: [PATCH] =?UTF-8?q?correction=20d'une=20typo=20sur=20le=20cr=C3=A9?= =?UTF-8?q?ation=20du=20d=C3=A9p=C3=B4t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- profile-manager.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/profile-manager.sh b/profile-manager.sh index 20ede9b..f2e0023 100755 --- a/profile-manager.sh +++ b/profile-manager.sh @@ -6,7 +6,7 @@ W="--width=600" H="--height=500" ZenityPulsate () { -zenity $W --window-icon=$HOME/.icons/borg.svg --progress --pulsate --auto-close +zenity $W --window-icon=borg --progress --pulsate --auto-close } TestBorgRepo () { @@ -66,17 +66,16 @@ Si vous ne chiffrez pas le dépôt, les données qu'il contient seront librement " if [ "$?" = "0" ];then - borg init "$borg_repo" | ZenityPulsate + borg init --encryption=keyfile "$borg_repo" | ZenityPulsate zenity $W --info --text "Un nouveau dépôt chiffré a été généré dans $borg_repo" repo_status="chiffré" elif [ "$?" = "1" ];then - borg init --encryption none "$borg_repo" | ZenityPulsate + borg init --encryption=none "$borg_repo" | ZenityPulsate zenity $W --info --text "Un nouveau dépôt en clair a été généré dans $borg_repo" repo_status="non chiffré" fi borg_dir=$(zenity --title "Dossier à sauvegarder" --file-selection --directory) - profilename=$(zenity --entry --title "Nom de profil" --text "Nom de profil (pas d'espace ni caractères spéciaux)") nomsauvegarde=$(echo "$profilename")