mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-18 11:58:12 -06:00
Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
08cf40624d
|
|||
a3b5fe1d6d
|
|||
99812ff71c
|
|||
d8a8162ffd
|
|||
32d405aa80
|
@ -55,6 +55,15 @@ if [ "${HOME_USER-}" ]; then
|
||||
|
||||
# Source the .bashrc file to apply the changes immediately
|
||||
sudo su -l ${HOME_USER} -c "source ~/.bashrc"
|
||||
|
||||
# Delete the vscode user
|
||||
if id "vscode" &>/dev/null; then
|
||||
sudo chown -R vscode:vscode /home/vscode
|
||||
sudo -u ${HOME_USER} bash -c 'userdel -r vscode'
|
||||
fi
|
||||
else
|
||||
# Switch to the user specified by $HOME_USER and start an interactive shell session.
|
||||
sudo su -l ${HOME_USER}
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@ -1 +1 @@
|
||||
2.0.47
|
||||
2.0.52
|
Reference in New Issue
Block a user