mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-18 20:08:13 -06:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
8dea73ec95
|
@ -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
|
||||
|
@ -1 +1 @@
|
||||
3.0.28
|
||||
3.0.29
|
Reference in New Issue
Block a user