Commit 45c322d1 authored by ale's avatar ale

Small fix for debugging

parent 8883c878
Pipeline #1122 failed with stages
in 25 seconds
#!/bin/sh #!/bin/sh
RESTIC_VERSION=${1:-0.9.1} RESTIC_VERSION=${1:-0.9.1}
case `dpkg-architecture -qDEB_BUILD_ARCH` in case `dpkg-architecture -qDEB_BUILD_ARCH` in
amd64) ARCH=amd64 ;; amd64) ARCH=amd64 ;;
i686) ARCH=386 ;; i686) ARCH=386 ;;
...@@ -15,6 +16,7 @@ esac ...@@ -15,6 +16,7 @@ esac
DOWNLOAD_URL="https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_${ARCH}.bz2" DOWNLOAD_URL="https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_${ARCH}.bz2"
set -e set -e
set -x
curl -s "${DOWNLOAD_URL}" | bunzip2 -c > /usr/bin/restic curl -s "${DOWNLOAD_URL}" | bunzip2 -c > /usr/bin/restic
chmod +x /usr/bin/restic chmod +x /usr/bin/restic
......
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