Skip to content

Commit

Permalink
fix error msg for unix systems
Browse files Browse the repository at this point in the history
  • Loading branch information
deniswolf committed Jan 8, 2013
1 parent a2c0ba7 commit a9c9109
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion bin/checknode
Expand Up @@ -2,8 +2,18 @@ command_exists () {
type "$1" &> /dev/null ;
}
if command_exists node ; then
echo "***************************************"
echo "Node.js was found. Happy Happy Joy Joy."
echo "***************************************"
else
echo "Node.js is not installed or is not in your PATH. Please, fix it before continue."
echo ""
echo "***********************************************************************************************"
echo "* *"
echo "* --- FATAL!!! STINKY NODE --- *"
echo "* *"
echo "* Node.js is not installed or is not in your PATH. Please, fix it before continue. *"
echo "* *"
echo "***********************************************************************************************"
echo ""
exit 1
fi

0 comments on commit a9c9109

Please sign in to comment.