M #-: Fix restic download links

This commit is contained in:
Ruben S. Montero committed 2024-08-06 10:05:52 +02:00
1 parent 98259c7b4d
commit cebf6bf59e
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1 +1 @@
./vendor/bin/restic_0.16.0_linux_amd64
vendor/bin/restic
+2 -2
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"