From cebf6bf59e10dcc837c15d5a883d4e9e1becdcb8 Mon Sep 17 00:00:00 2001 From: "Ruben S. Montero" Date: Tue, 6 Aug 2024 10:05:52 +0200 Subject: [PATCH] M #-: Fix restic download links --- src/datastore_mad/remotes/restic/restic | 2 +- src/datastore_mad/remotes/restic/vendor/download | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/datastore_mad/remotes/restic/restic b/src/datastore_mad/remotes/restic/restic index d4eb23f987..ba013742ba 120000 --- a/src/datastore_mad/remotes/restic/restic +++ b/src/datastore_mad/remotes/restic/restic @@ -1 +1 @@ -./vendor/bin/restic_0.16.0_linux_amd64 \ No newline at end of file +vendor/bin/restic \ No newline at end of file diff --git a/src/datastore_mad/remotes/restic/vendor/download b/src/datastore_mad/remotes/restic/vendor/download index c3c676fc71..e8bf92ba73 100755 --- a/src/datastore_mad/remotes/restic/vendor/download +++ b/src/datastore_mad/remotes/restic/vendor/download @@ -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"