Replaced /Users/$USER by $HOME

This commit is contained in:
Sun Knudsen 2021-09-01 10:53:39 -04:00
parent f8442c1574
commit e82e217f3a
No known key found for this signature in database
GPG Key ID: 1FA767862BBD1305
2 changed files with 5 additions and 5 deletions

View File

@ -284,9 +284,9 @@ veracrypt --text --mount --pim "0" --keyfiles "" --protect-hidden "no" "\$volume
mkdir -p "\$mount_point/Versioning"
files=(
"/Users/$USER/.gnupg"
"/Users/$USER/.ssh"
"/Users/$USER/Library/Keychains"
"$HOME/.gnupg"
"$HOME/.ssh"
"$HOME/Library/Keychains"
)
for file in "\${files[@]}"; do

View File

@ -234,8 +234,8 @@ borg create \\
--stats \\
--verbose \\
"\$repo::\$prefix{now:%F-%H%M%S}" \\
"/Users/$USER/.ssh" \\
"/Users/$USER/Library/Keychains"
"$HOME/.ssh" \\
"$HOME/Library/Keychains"
printf "%s\n" "Done"
EOF