mirror of
https://github.com/aleleba/aleleba-vscode-dockerfile-configuration.git
synced 2025-06-20 21:08:12 -06:00
Update entrypoint.sh and version.txt Updating to version 3.0.27
This commit is contained in:
@ -76,7 +76,11 @@ fi
|
||||
# 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
|
||||
sudo -u $HOME_USER bash -c "source /etc/environment; sudo $script"
|
||||
if [[ $script == *"sudo"* ]]; then
|
||||
sudo -u $HOME_USER bash -c "source /etc/environment; sudo $script"
|
||||
else
|
||||
sudo -u $HOME_USER bash -c "source /etc/environment; $script"
|
||||
fi
|
||||
done
|
||||
|
||||
# Move the .bashrc file to the user's home directory
|
||||
|
Reference in New Issue
Block a user