aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorDamian Rouson <damian@sourceryinstitute.org>2020-10-13 14:49:35 -0700
committerDamian Rouson <damian@sourceryinstitute.org>2020-10-27 11:54:59 -0700
commit108a9973659b3c112f66e6246fa4a8fcf136a2af (patch)
tree72f793d68c9df53fb20bf78baa25e49e7b8b1c54 /install.sh
parent6624b64631e3c56bd47b8d763b9ce7f9ef8ffa49 (diff)
downloadfpm-108a9973659b3c112f66e6246fa4a8fcf136a2af.tar.gz
fpm-108a9973659b3c112f66e6246fa4a8fcf136a2af.zip
Update install.sh
Co-authored-by: Brad Richardson <everythingfunctional@protonmail.com>
Diffstat (limited to 'install.sh')
-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."