various
This commit is contained in:
parent
406f791c89
commit
3a3a4dddcf
4 changed files with 103 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue