upgrade to nodejs 14.x, #62
This commit is contained in:
@@ -87,7 +87,7 @@ Below is a list of packages that will be installed if missing.
|
||||
CentOS:
|
||||
- curl
|
||||
- epel-release
|
||||
- nodejs (v12)
|
||||
- nodejs (v14)
|
||||
- npm (v3)
|
||||
- yarn
|
||||
- gcc
|
||||
@@ -109,7 +109,7 @@ Debian/Ubuntu:
|
||||
- libcap2-bin
|
||||
- curl
|
||||
- yarn
|
||||
- nodejs (v12) (possible debian 10 default nodejs v10 will be replaced)
|
||||
- nodejs (v14)
|
||||
- npm (v3)
|
||||
- build-essential
|
||||
- redis-server
|
||||
|
@@ -29,6 +29,7 @@ BRANCH="master"
|
||||
PLUGINS="all"
|
||||
|
||||
# NodeJS and Yarn are automatically updated when running update/install. Can be disabled but not recommended (installation might fail because of too old node.js or yarn)
|
||||
# Note that if nodejs is updated when script's update feature is used, it might not be possible to use rollback option anymore without manually downgrading nodejs version to previous one
|
||||
AUTOUPDATE="true"
|
||||
|
||||
# Define the number of previous installations you want to keep. Needs to be at least 1
|
||||
|
@@ -33,7 +33,7 @@ REPOSITORY="${REPOSITORY:-"https://github.com/vatesfr/xen-orchestra"}"
|
||||
TIME=$(date +%Y%m%d%H%M)
|
||||
LOGTIME=$(date "+%Y-%m-%d %H:%M:%S")
|
||||
LOGFILE="${LOGPATH}/xo-install.log-$TIME"
|
||||
NODEVERSION="12"
|
||||
NODEVERSION="14"
|
||||
|
||||
# Set path where new source is cloned/pulled
|
||||
XO_SRC_DIR="$INSTALLDIR/xo-src/xen-orchestra"
|
||||
|
Reference in New Issue
Block a user