2
0
Fork 0
This commit is contained in:
Ducky 2023-08-15 16:47:55 +01:00
parent 406f791c89
commit 3a3a4dddcf
4 changed files with 103 additions and 1 deletions

View file

@ -19,7 +19,7 @@ function download_restic() {
restic_version="$1"
restic_download_url="https://github.com/restic/restic/releases/download/v${restic_version}/restic_${restic_version}_linux_amd64.bz2"
restic_path="/tmp/restic-$restic_version"
restic_path="/tmp/restic-v$restic_version"
restic_archive_path="${restic_path}_$(date +%s).${restic_download_url##*.}"
if [[ ! -f "$restic_path" ]]; then