summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorStefan <mu.stefan@googlemail.com>2015-02-15 22:21:41 +0100
committerStefan <mu.stefan@googlemail.com>2015-02-15 22:21:41 +0100
commit0505a4735686322639981f0564757e4543f2706d (patch)
tree6826b234fce5f0a0995eb18fc55a3f717581b4af /bin
parente39b4428405d186796c56bb0fd18785bec0b5628 (diff)
downloadetherpad-lite-0505a4735686322639981f0564757e4543f2706d.zip
Support node version 0.12.x
Diffstat (limited to 'bin')
-rwxr-xr-xbin/installDeps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/installDeps.sh b/bin/installDeps.sh
index fcf213e4..04c4a02a 100755
--- a/bin/installDeps.sh
+++ b/bin/installDeps.sh
@@ -50,9 +50,9 @@ NODE_V_MINOR=$(echo $NODE_VERSION | cut -d "." -f 1-2)
if hash iojs 2>/dev/null; then
IOJS_VERSION=$(iojs --version)
fi
-if [ ! $NODE_V_MINOR = "v0.8" ] && [ ! $NODE_V_MINOR = "v0.10" ] && [ ! $NODE_V_MINOR = "v0.11" ]; then
+if [ ! $NODE_V_MINOR = "v0.8" ] && [ ! $NODE_V_MINOR = "v0.10" ] && [ ! $NODE_V_MINOR = "v0.11" ] && [ ! $NODE_V_MINOR = "v0.12" ]; then
if [ ! $IOJS_VERSION ]; then
- echo "You're running a wrong version of node, or io.js is not installed. You're using $NODE_VERSION, we need v0.8.x, v0.10.x or v0.11.x" >&2
+ echo "You're running a wrong version of node, or io.js is not installed. You're using $NODE_VERSION, we need v0.8.x, v0.10.x, v0.11.x or v0.12.x" >&2
exit 1
fi
fi