add backend install script execute privilege and fixed nodejs with unbunu deprecated libssl1.0-dev

This commit is contained in:
gemer
2020-09-16 11:44:41 +08:00
parent 9391334152
commit 18fb8a6d9e
2 changed files with 5 additions and 3 deletions

View File

@@ -10,9 +10,8 @@ touch /tmp/install.lock
touch /tmp/install-nodejs.lock
# install node.js
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get update && apt install -y nodejs nodejs-dev node-gyp libssl1.0-dev
apt-get update && apt install -y npm
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get update && apt install -y nodejs
# install chromium
# See https://crbug.com/795759