mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 13:16:48 -06:00
Trying to fix error of deleting vscode user. Updating to version 2.0.50
This commit is contained in:
parent
d8a8162ffd
commit
99812ff71c
@ -51,7 +51,10 @@ if [ "${HOME_USER-}" ]; then
|
|||||||
sudo su -l ${HOME_USER}
|
sudo su -l ${HOME_USER}
|
||||||
|
|
||||||
# Delete the vscode user
|
# Delete the vscode user
|
||||||
sudo userdel -r vscode
|
if id "vscode" &>/dev/null; then
|
||||||
|
sudo chown -R vscode:vscode /home/vscode
|
||||||
|
sudo userdel -r vscode
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
# Switch to the user specified by $HOME_USER and start an interactive shell session.
|
# Switch to the user specified by $HOME_USER and start an interactive shell session.
|
||||||
sudo su -l ${HOME_USER}
|
sudo su -l ${HOME_USER}
|
||||||
|
@ -1 +1 @@
|
|||||||
2.0.49
|
2.0.50
|
Loading…
Reference in New Issue
Block a user