Merge branch 'main' of https://github.com/minoplhy/scriptbox
This commit is contained in:
commit
f1be365bbf
@ -39,7 +39,7 @@ sudo apt-get update && sudo apt-get install xz-utils wget git tar g++ make -y
|
|||||||
# NodeJS
|
# NodeJS
|
||||||
if [[ $NODEJS_VERSION == "" ]]
|
if [[ $NODEJS_VERSION == "" ]]
|
||||||
then
|
then
|
||||||
NODEJS_VERSION=v20.3.1
|
NODEJS_VERSION=v20.11.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DISTRO=linux-x64
|
DISTRO=linux-x64
|
||||||
@ -53,7 +53,7 @@ export PATH=/usr/local/lib/nodejs/node-$NODEJS_VERSION-$DISTRO/bin:$PATH
|
|||||||
# Golang
|
# Golang
|
||||||
if [[ $GO_VERSION == "" ]]
|
if [[ $GO_VERSION == "" ]]
|
||||||
then
|
then
|
||||||
GO_VERSION=1.20.5
|
GO_VERSION=1.22.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo unlink /usr/bin/go
|
sudo unlink /usr/bin/go
|
||||||
|
Loading…
Reference in New Issue
Block a user