Update entrypoint.sh and version.txt Updating to version 3.0.27

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-19 07:49:00 +00:00
parent c9799b9a77
commit d9df63f836
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 6 additions and 2 deletions

View File

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

View File

@ -1 +1 @@
3.0.26
3.0.27