return status code 0, even "ihaskell install" failed

parent 252fe068
#/bin/bash sh
if hash ihaskell 2>/dev/null; then
ihaskell install 2>/dev/null || echo "\"ihaskell install\" - failed, required ipython --version == 3.0.0 is $(ipython --version)"
else
echo "tip, don't forget run: ihaskell install"
fi
...@@ -76,4 +76,8 @@ else ...@@ -76,4 +76,8 @@ else
cabal install -j $INSTALL_DIRS --force-reinstalls --constraint "arithmoi==0.4.*" --max-backjumps=-1 --reorder-goals cabal install -j $INSTALL_DIRS --force-reinstalls --constraint "arithmoi==0.4.*" --max-backjumps=-1 --reorder-goals
fi fi
if hash ihaskell 2>/dev/null; then ihaskell install; else echo "tip, don't forget run: ihaskell install"; fi if hash ihaskell 2>/dev/null; then
ihaskell install 2>/dev/null || echo "\"ihaskell install\" - failed, pls check your ipython --version required 3.0.0 but is $(ipython --version)"
else
echo "tip, don't forget run: ihaskell install"
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment