mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-01-09 05:06:46 -06:00
Trying to fix user issue. Updating to version 2.0.30
This commit is contained in:
parent
c1acddcc6e
commit
2ab5fcffc7
@ -21,6 +21,12 @@ if [ "${HOME_USER-}" ]; then
|
|||||||
sudo echo "$HOME_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null
|
sudo echo "$HOME_USER ALL=(ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/nopasswd > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if .bashrc file exists
|
||||||
|
if [ ! -f "/home/${HOME_USER}/.bashrc" ]; then
|
||||||
|
# If not, create it
|
||||||
|
sudo touch /home/${HOME_USER}/.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
# Change the owner of the .bashrc file to HOME_USER
|
# Change the owner of the .bashrc file to HOME_USER
|
||||||
sudo chown ${HOME_USER} /home/${HOME_USER}/.bashrc
|
sudo chown ${HOME_USER} /home/${HOME_USER}/.bashrc
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
2.0.29
|
2.0.30
|
Loading…
Reference in New Issue
Block a user