Compare commits

..

7 Commits

2 changed files with 12 additions and 1 deletions

View File

@ -55,6 +55,17 @@ if [ "${HOME_USER-}" ]; then
# Source the .bashrc file to apply the changes immediately # Source the .bashrc file to apply the changes immediately
sudo su -l ${HOME_USER} -c "source ~/.bashrc" 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 pkill -u vscode
sleep 2 # wait for processes to terminate
sudo -u root 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
fi fi

View File

@ -1 +1 @@
2.0.47 2.0.54