summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorKomasa <komasa@tfwno.gf>2015-11-04 21:15:13 +0100
committerKomasa <komasa@tfwno.gf>2015-11-04 21:15:13 +0100
commit5f9d1397e243a0a26e1fb02964b94dec7f3a0e43 (patch)
tree53a158b2c94d7b275f150aa766b9982689692bf5 /bin
parent062e6f308fe372c69df3408a3e12d96f338b0cff (diff)
downloadetherpad-lite-5f9d1397e243a0a26e1fb02964b94dec7f3a0e43.zip
Update installDeps.sh
Diffstat (limited to 'bin')
-rwxr-xr-xbin/installDeps.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/installDeps.sh b/bin/installDeps.sh
index fbbbbb24..df6ea9fb 100755
--- a/bin/installDeps.sh
+++ b/bin/installDeps.sh
@@ -51,7 +51,7 @@ NODE_V_MAIN=$(echo $NODE_VERSION | cut -d "." -f 1)
if hash iojs 2>/dev/null; then
IOJS_VERSION=$(iojs --version)
fi
-if [ ! $NODE_V_MINOR = "v0.10" ] && [ ! $NODE_V_MINOR = "v0.11" ] && [ ! $NODE_V_MINOR = "v0.12" ] && [ ! $NODE_V_MAIN = "v4" ]; then
+if [ ! $NODE_V_MINOR = "v0.10" ] && [ ! $NODE_V_MINOR = "v0.11" ] && [ ! $NODE_V_MINOR = "v0.12" ] && [ ! $NODE_V_MAIN = "v4" ] && [ ! $NODE_V_MAIN = "v5" ]; 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 node v0.10.x or higher" >&2
exit 1