Skip to content

Commit de96c4a

Browse files
Damian Rousoneverythingfunctional
andauthored
Update install.sh
Co-authored-by: Brad Richardson <[email protected]>
1 parent 7eca78c commit de96c4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ else
99
echo "Haskell stack not found."
1010
echo "Installing Haskell stack to."
1111
curl -sSL https://get.haskellstack.org/ | sh
12-
if [[ -x "$install_path/stack" ]]; then
12+
if command -v stack &> /dev/null ; then
1313
echo "Haskell stack installation successful."
1414
else
1515
echo "Haskell stack installation unsuccessful."

0 commit comments

Comments
 (0)