From 108a9973659b3c112f66e6246fa4a8fcf136a2af Mon Sep 17 00:00:00 2001 From: Damian Rouson Date: Tue, 13 Oct 2020 14:49:35 -0700 Subject: Update install.sh Co-authored-by: Brad Richardson --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index cef50fc..5029774 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ else echo "Haskell stack not found." echo "Installing Haskell stack to." curl -sSL https://get.haskellstack.org/ | sh - if [[ -x "$install_path/stack" ]]; then + if command -v stack &> /dev/null ; then echo "Haskell stack installation successful." else echo "Haskell stack installation unsuccessful." -- cgit v1.2.3