Trying to fix error of deleting vscode user. Updating to version 2.0.50

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-12 02:05:26 +00:00
parent d8a8162ffd
commit 99812ff71c
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 5 additions and 2 deletions

View File

@ -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}

View File

@ -1 +1 @@
2.0.49 2.0.50