|
|
@@ -1,10 +1,10 @@
|
|
|
#!/bin/bash
|
|
|
apt update -y
|
|
|
-apt install gnupg2 ca-certificates zip unzip build-essential git python3 --no-install-recommends -y
|
|
|
-#curl -sL -o node_inst.sh https://deb.nodesource.com/setup_${NODEJS_MAJOR}.x
|
|
|
-#bash node_inst.sh
|
|
|
-apt install -y nodejs
|
|
|
-#rm -f node_inst.sh
|
|
|
+apt install curl gnupg2 ca-certificates zip unzip build-essential git --no-install-recommends -y
|
|
|
+curl -sL -o node_inst.sh https://deb.nodesource.com/setup_${NODEJS_MAJOR}.x
|
|
|
+bash node_inst.sh
|
|
|
+apt install -y nodejs --no-install-recommends
|
|
|
+rm -f node_inst.sh
|
|
|
git clone https://github.com/kmahyyg/ztncui-aio.git tmp
|
|
|
mv tmp/* /build
|
|
|
sed -i "s|git clone https://github.com/key-networks/ztncui||g" build-ztncui.sh
|