mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 13:16:48 -06:00
Trying to fix issue with vscode user deletion. updating to version 2.0.54
This commit is contained in:
parent
a6e4296f25
commit
cd8b5c19e1
@ -59,6 +59,8 @@ if [ "${HOME_USER-}" ]; then
|
|||||||
# Delete the vscode user
|
# Delete the vscode user
|
||||||
if id "vscode" &>/dev/null; then
|
if id "vscode" &>/dev/null; then
|
||||||
sudo chown -R vscode:vscode /home/vscode
|
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'
|
sudo -u root bash -c 'userdel -r vscode'
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
|
@ -1 +1 @@
|
|||||||
2.0.53
|
2.0.54
|
Loading…
Reference in New Issue
Block a user