diff options
Diffstat (limited to 'borgbackup/create-repo')
-rwxr-xr-x | borgbackup/create-repo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/borgbackup/create-repo b/borgbackup/create-repo index 6a6c7dd..52e86be 100755 --- a/borgbackup/create-repo +++ b/borgbackup/create-repo @@ -83,11 +83,11 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin $(( RANDOM % 60 )) $(( RANDOM % 5 )) * * * root /opt/scripts/borg-backup.sh BLUB -echo "Downloading borg 1.1.7....." +echo "Downloading borg ${BORG_VERSION}....." mkdir -p "/usr/local/bin" ARC=32 [ "\$(uname -m)" = "x86_64" ] && ARC=64 -[ -x "/usr/local/bin/borg" ] || wget -O "/usr/local/bin/borg" "https://github.com/borgbackup/borg/releases/download/1.1.7/borg-linux\$ARC" +[ -x "/usr/local/bin/borg" ] || wget -O "/usr/local/bin/borg" "https://github.com/borgbackup/borg/releases/download/$BORG_VERSION/borg-linux\$ARC" chmod +x "/usr/local/bin/borg" export BORG_RSH="ssh -a -k -oStrictHostKeyChecking=no" export BORG_PASSPHRASE=hello |