mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-19 04:18:11 -06:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
15de59c6e7
|
|||
7bf78c1935
|
|||
e2ba0edd34
|
@ -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
|
||||
@ -110,8 +110,8 @@ else
|
||||
echo "File extensions.json not found"
|
||||
fi
|
||||
|
||||
if [[ -z "${VSCODE_TUNNEL_NAME}" ]]; then
|
||||
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms"
|
||||
else
|
||||
if [[ -v VSCODE_TUNNEL_NAME && -n "${VSCODE_TUNNEL_NAME}" ]]; then
|
||||
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms --name ${VSCODE_TUNNEL_NAME}"
|
||||
else
|
||||
sudo su - ${HOME_USER} -c "code tunnel --accept-server-license-terms"
|
||||
fi
|
||||
|
@ -1 +1 @@
|
||||
3.0.2
|
||||
3.0.5
|
Reference in New Issue
Block a user