Commit 11fa1898 authored by ale's avatar ale

Let curl follow redirects

parent 45c322d1
Pipeline #1123 failed with stages
in 44 seconds
......@@ -18,7 +18,7 @@ DOWNLOAD_URL="https://github.com/restic/restic/releases/download/v${RESTIC_VERSI
set -e
set -x
curl -s "${DOWNLOAD_URL}" | bunzip2 -c > /usr/bin/restic
curl -sL "${DOWNLOAD_URL}" | bunzip2 -c > /usr/bin/restic
chmod +x /usr/bin/restic
exit 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment