Trying to fix user issue. Updating to version 2.0.30

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-09 03:50:29 +00:00
parent c1acddcc6e
commit 2ab5fcffc7
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -1 +1 @@
2.0.29 2.0.30