From 1402a4ca4b2c5a54bf1eecfa2f61211d7a07d405 Mon Sep 17 00:00:00 2001 From: Adam Dinwoodie Date: Fri, 13 May 2016 15:32:34 +0100 Subject: [PATCH] Clean up after install --- CentOS6.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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