removed the node v0.4 check, it works now with node v0.6

This commit is contained in:
Peter 'Pita' Martischka 2011-11-12 16:46:10 -08:00
parent 17666339d0
commit 08e0c91204
1 changed files with 0 additions and 7 deletions

View File

@ -20,13 +20,6 @@ hash node > /dev/null 2>&1 || {
exit 1
}
#check node version
NODE_VERSION=$(node --version)
if [ ! $(echo $NODE_VERSION | cut -d "." -f 1-2) = "v0.4" ]; then
echo "You're running a wrong version of node, you're using $NODE_VERSION, we need v0.4.x" >&2
exit 1
fi
#Is npm installed?
hash npm > /dev/null 2>&1 || {
echo "Please install npm ( http://npmjs.org )" >&2