Merge branch 'master' of git.axenov.dev:anthony/my-env
This commit is contained in:
commit
7bb8a8c839
@ -6,7 +6,7 @@ source `dirname $0`/../helpers || exit 255
|
|||||||
# https://golang.org/doc/install
|
# https://golang.org/doc/install
|
||||||
# https://www.vultr.com/docs/install-the-latest-version-of-golang-on-ubuntu
|
# https://www.vultr.com/docs/install-the-latest-version-of-golang-on-ubuntu
|
||||||
|
|
||||||
[ $1 ] && VERSION="$1" || VERSION="1.21.6"
|
[ $1 ] && VERSION="$1" || VERSION="1.23.0"
|
||||||
title "Installing golang v$VERSION..."
|
title "Installing golang v$VERSION..."
|
||||||
|
|
||||||
FILE="go$VERSION.linux-amd64.tar.gz"
|
FILE="go$VERSION.linux-amd64.tar.gz"
|
||||||
|
@ -6,13 +6,13 @@ title
|
|||||||
|
|
||||||
mkdir -p "$HOME/install"
|
mkdir -p "$HOME/install"
|
||||||
|
|
||||||
download "https://code.visualstudio.com/docs/?dv=linux64_deb" \
|
download "https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64" \
|
||||||
"$HOME/install/vscode.deb" && \
|
"$HOME/install/vscode.deb" && \
|
||||||
sudo dpkg -i "$HOME/install/vscode.deb"
|
sudo dpkg -i "$HOME/install/vscode.deb"
|
||||||
|
|
||||||
[ $? = 0 ] && {
|
[ $? = 0 ] && {
|
||||||
echo
|
echo
|
||||||
success "VSCode installed"
|
success "VSCode installed"
|
||||||
vscode --version
|
code --version
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user