mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
04063d664b
* fix bin folder and workflows as far its possible cleanup of dockerfile changed paths of scripts add lock file fix working directory for workflows fix windows bin fix travis (is travis used anyway?) fix package refs remove pnpm-lock file in root as these conflicts with the docker volume setup optimize comments use install again refactor prod image call to run fix --workspace can only be used inside a workspace correct comment try fix pipeline try fix pipeline for upgrade-from-latest-release install all deps smaller adjustments save update dockerfile remove workspace command fix run test command start repair latest release workflow start repair latest release workflow start repair latest release workflow further repairs * remove test plugin from docker compose
26 lines
578 B
Bash
Executable file
26 lines
578 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Installs node if it isn't already installed
|
|
#
|
|
# Don't steamroll over a previously installed node version
|
|
# TODO provide a local version of node?
|
|
|
|
VER="0.10.4"
|
|
ARCH="x86"
|
|
if [ `arch | grep 64` ]
|
|
then
|
|
ARCH="x64"
|
|
fi
|
|
|
|
# TODO test version
|
|
if [ ! -f /usr/local/bin/node ]
|
|
then
|
|
pushd /tmp
|
|
wget -c "http://nodejs.org/dist/v${VER}/node-v${VER}-linux-${ARCH}.tar.gz"
|
|
rm -rf /tmp/node-v${VER}-linux-${ARCH}
|
|
tar xf node-v${VER}-linux-${ARCH}.tar.gz -C /tmp/
|
|
cp -a /tmp/node-v${VER}-linux-${ARCH}/* /usr/local/
|
|
fi
|
|
|
|
# Create Etherpad user
|
|
adduser --system etherpad
|