aboutsummaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-07-05 20:57:32 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-07-05 20:57:32 -0700
commit9ca2fa686104851e7ac18fc478b4823be36a680c (patch)
tree35111b1aa893bbcbe3e4cbb5283ab6b47d085dde /setup
parentc615a2a7b83b014f848ef23083613f0428c7b3c9 (diff)
downloadtraccar-server-9ca2fa686104851e7ac18fc478b4823be36a680c.tar.gz
traccar-server-9ca2fa686104851e7ac18fc478b4823be36a680c.tar.bz2
traccar-server-9ca2fa686104851e7ac18fc478b4823be36a680c.zip
Another script update
Diffstat (limited to 'setup')
-rw-r--r--setup/environment.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup/environment.sh b/setup/environment.sh
index 2e6019a76..3ebc0ab74 100644
--- a/setup/environment.sh
+++ b/setup/environment.sh
@@ -1,8 +1,9 @@
#!/usr/bin/env bash
add-apt-repository ppa:openjdk-r/ppa
+curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
apt update
-apt install openjdk-11-jdk zip unzip innoextract wine-stable makeself npm craco
+apt install -y openjdk-11-jdk zip unzip innoextract wine-stable makeself nodejs
# /usr/bin/printf '\xfe\xed\xfe\xed\x00\x00\x00\x02\x00\x00\x00\x00\xe2\x68\x6e\x45\xfb\x43\xdf\xa4\xd9\x92\xdd\x41\xce\xb6\xb2\x1c\x63\x30\xd7\x92' > /etc/ssl/certs/java/cacerts
# /var/lib/dpkg/info/ca-certificates-java.postinst configure