mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-20 21:08:12 -06:00
Trying to fix the Environment VSCODE NAME TUNNEL issue. Updating to version 3.0.2
This commit is contained in:
@ -9,8 +9,10 @@ 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
|
||||
sudo bash -c "echo VSCODE_TUNNEL_NAME=$VSCODE_TUNNEL_NAME >> /etc/environment"
|
||||
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
|
||||
|
Reference in New Issue
Block a user