1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-05 09:17:41 +03:00

M #-: Fix restic download links

This commit is contained in:
Ruben S. Montero 2024-08-06 10:05:52 +02:00
parent 98259c7b4d
commit cebf6bf59e
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
./vendor/bin/restic_0.16.0_linux_amd64
vendor/bin/restic

View File

@ -26,6 +26,6 @@ readonly SELF=$(realpath "$0" | xargs dirname) && cd "$SELF/"
readonly RESTIC_URL="https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_amd64.bz2"
install -d "$SELF/bin/"
curl -fsSL "$RESTIC_URL" | bzip2 -d -s > "$SELF/bin/restic_${RESTIC_VERSION}_linux_amd64"
curl -fsSL "$RESTIC_URL" | bzip2 -d -s > "$SELF/bin/restic"
chmod ugo+x "$SELF/bin/restic_${RESTIC_VERSION}_linux_amd64"
chmod ugo+x "$SELF/bin/restic"