aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
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."