aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamian Rouson <damian@sourceryinstitute.org>2020-10-13 14:49:35 -0700
committerGitHub <noreply@github.com>2020-10-13 14:49:35 -0700
commitde96c4a53b14f9feb51447923598d87d5e3b1220 (patch)
tree77d72808fec6793d2657f8fc6f08d36824826295
parent7eca78cddeefc23cffbba7c94eb0a1d2ca2ececb (diff)
downloadfpm-de96c4a53b14f9feb51447923598d87d5e3b1220.tar.gz
fpm-de96c4a53b14f9feb51447923598d87d5e3b1220.zip
Update install.sh
Co-authored-by: Brad Richardson <everythingfunctional@protonmail.com>
-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."