mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Remove support for io.js
This commit is contained in:
parent
18d583d92d
commit
2a81d2a578
1 changed files with 2 additions and 8 deletions
|
@ -48,15 +48,9 @@ NODE_VERSION=$(node --version)
|
|||
NODE_V_MINOR=$(echo $NODE_VERSION | cut -d "." -f 1-2)
|
||||
NODE_V_MAIN=$(echo $NODE_VERSION | cut -d "." -f 1)
|
||||
NODE_V_MAIN=${NODE_V_MAIN#"v"}
|
||||
#iojs version checking added
|
||||
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 -gt 4 ]; 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
|
||||
echo "You're running a wrong version of node. You're using $NODE_VERSION, we need node v0.10.x or higher" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
#Get the name of the settings file
|
||||
|
|
Loading…
Reference in a new issue