Merge branch 'master' of git.axenov.dev:anthony/my-env

This commit is contained in:
Anthony Axenov 2024-11-24 14:47:02 +08:00
commit 7bb8a8c839
Signed by: anthony
GPG Key ID: EA9EC32FF7CCD4EC
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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
} }