We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 277828d commit acf02aaCopy full SHA for acf02aa
install.sh
@@ -5,13 +5,13 @@ set -e # exit on error
5
6
install_path="$HOME/.local/bin"
7
8
-if command -v stack &> /dev/null ; then
+if command -v stack 1> /dev/null 2>&1 ; then
9
echo "found stack"
10
else
11
echo "Haskell stack not found."
12
echo "Installing Haskell stack to."
13
curl -sSL https://get.haskellstack.org/ | sh
14
- if command -v stack &> /dev/null ; then
+ if command -v stack 1> /dev/null 2>&1 ; then
15
echo "Haskell stack installation successful."
16
17
echo "Haskell stack installation unsuccessful."
0 commit comments