Trying to fix Environment variable VSCODETUNNERNAME error. Updating to version 3.0.3

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-15 03:07:36 +00:00
parent e74fb7d054
commit e2ba0edd34
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ if ! grep -q "HOME_USER=" /etc/environment; then
sudo bash -c "echo HOME_USER=$HOME_USER >> /etc/environment"
fi
if [[ -n "${VSCODE_TUNNEL_NAME}" ]]; then
if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then
if ! grep -q "VSCODE_TUNNEL_NAME=" /etc/environment; then
sudo bash -c "echo VSCODE_TUNNEL_NAME=$VSCODE_TUNNEL_NAME >> /etc/environment"
fi

View File

@ -1 +1 @@
3.0.2
3.0.3