Trying to fix the Environment VSCODE NAME TUNNEL issue. Updating to version 3.0.2

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-15 02:40:38 +00:00
parent b027cd07a0
commit e74fb7d054
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 5 additions and 3 deletions

View File

@ -9,9 +9,11 @@ if ! grep -q "HOME_USER=" /etc/environment; then
sudo bash -c "echo HOME_USER=$HOME_USER >> /etc/environment"
fi
if [[ -n $VSCODE_TUNNEL_NAME ]] && ! grep -q "VSCODE_TUNNEL_NAME=" /etc/environment; then
if [[ -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
fi
# List all environment variables
sudo env |

View File

@ -1 +1 @@
3.0.1
3.0.2