diff --git a/CentOS6.md b/CentOS6.md index da1546c..1401de9 100644 --- a/CentOS6.md +++ b/CentOS6.md @@ -4,12 +4,14 @@ sudo ln -s /usr/lib64/libgmp.so.3 /usr/lib64/libgmp.so.10 # Get Haskell and build it -#### From https://www.haskell.org/platform/linux.html#linux-generic - pushd "$(mktemp -d)" +#### Based on https://www.haskell.org/platform/linux.html#linux-generic + dir="$(mktemp -d)" + pushd "$dir" wget https://haskell.org/platform/download/7.10.2/haskell-platform-7.10.2-a-unknown-linux-deb7.tar.gz tar xvzf haskell-platform-7.10.2-a-unknown-linux-deb7.tar.gz ./install-haskell-platform.sh popd + rm -r "$dir" # Install shellcheck cabal install shellcheck