Move .bashrc and .profile files to user's home directory, update version to 3.0.29

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-19 11:42:39 +00:00
parent 8b71265807
commit 8dea73ec95
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 9 additions and 9 deletions

View File

@ -73,6 +73,14 @@ else
sudo chown -R ${HOME_USER} /home/${HOME_USER}
fi
# Move the .bashrc file to the user's home directory
sudo mv /usr/bin/.bashrc /home/${HOME_USER}/.bashrc
sudo chown ${HOME_USER} /home/${HOME_USER}/.bashrc
# Move the .profile file to the user's home directory
sudo mv /usr/bin/.profile /home/${HOME_USER}/.profile
sudo chown ${HOME_USER} /home/${HOME_USER}/.profile
# Find .sh files in /usr/bin/custom-scripts and execute them in order
for script in $(find /usr/bin/custom-scripts -name "*.sh" | sort); do
chmod +x $script
@ -83,14 +91,6 @@ for script in $(find /usr/bin/custom-scripts -name "*.sh" | sort); do
fi
done
# Move the .bashrc file to the user's home directory
sudo mv /usr/bin/.bashrc /home/${HOME_USER}/.bashrc
sudo chown ${HOME_USER} /home/${HOME_USER}/.bashrc
# Move the .profile file to the user's home directory
sudo mv /usr/bin/.profile /home/${HOME_USER}/.profile
sudo chown ${HOME_USER} /home/${HOME_USER}/.profile
#Creating extensions folder
if [ ! -d "/home/${HOME_USER}/.config/Code" ]; then
sudo mkdir -p /home/${HOME_USER}/.config/Code

View File

@ -1 +1 @@
3.0.28
3.0.29