changement de la variable "dossierprofil"
This commit is contained in:
parent
3d64d7a119
commit
5487c516e7
4
profile-manager.sh
Normal file → Executable file
4
profile-manager.sh
Normal file → Executable file
@ -7,7 +7,7 @@ zenity $W --window-icon=$HOME/.icons/borg.svg --progress --pulsate --auto-close
|
||||
W="--width=600"
|
||||
H="--height=500"
|
||||
|
||||
dossierprofil="$HOME/.config/borg/"
|
||||
dossierprofil="$HOME/.config/borg/profils-borg-zenity/"
|
||||
cd $dossierprofil
|
||||
|
||||
# affichage du menu
|
||||
@ -54,7 +54,7 @@ vars=$(zenity --forms \
|
||||
nomsauvegarde=$(echo $vars | cut -d\| -f1)
|
||||
profilename=$(echo $vars | cut -d\| -f2)
|
||||
|
||||
cat << EOF >> $HOME/.config/borg/"$profilename".conf
|
||||
cat << EOF >> "$dossierprofil""$profilename".conf
|
||||
nomsauvegarde="$nomsauvegarde"
|
||||
borg_repo="$borg_repo"
|
||||
borg_archive="\$(date +%d_%B_%Y_%H-%M-%S)"
|
||||
|
Loading…
Reference in New Issue
Block a user