removed the node v0.4 check, it works now with node v0.6
parent
17666339d0
commit
08e0c91204
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue