From ca4015eaec3e0cf04eccba442cbaf9e4189ddf9e Mon Sep 17 00:00:00 2001 From: Kirill Zaborsky Date: Thu, 7 Feb 2019 18:10:41 +0300 Subject: [PATCH] Download and install Stack --- etc/curator-2-check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/curator-2-check.sh b/etc/curator-2-check.sh index 6e9369ee..abafaae6 100755 --- a/etc/curator-2-check.sh +++ b/etc/curator-2-check.sh @@ -4,8 +4,10 @@ set -euxo pipefail export GHCVER=8.6.3 +# Download and unpack the stack executable mkdir -p ~/.local/bin export PATH=$HOME/.local/bin:$PATH +curl -L https://www.stackage.org/stack/linux-x86_64 | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' # Get new Stackage curator CURATOR2=stackage-curator-2-6ec4ac4ee5016e2ecd86af2abfa722b94d2a56c3