mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 01:46:14 -04:00
Use node v0.8.1 / allow node v0.8
This commit is contained in:
parent
9d35b51500
commit
02ce537c68
2 changed files with 5 additions and 5 deletions
|
@ -35,8 +35,8 @@ fi
|
|||
|
||||
#check node version
|
||||
NODE_VERSION=$(node --version)
|
||||
if [ ! $(echo $NODE_VERSION | cut -d "." -f 1-2) = "v0.6" ]; then
|
||||
echo "You're running a wrong version of node, you're using $NODE_VERSION, we need v0.6.x" >&2
|
||||
if [ ! $(echo $NODE_VERSION | cut -d "." -f 1-2) = "v0.8" ]; then
|
||||
echo "You're running a wrong version of node, you're using $NODE_VERSION, we need v0.8.x" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue