Fix ownership issues in entrypoint.sh and update version to 3.0.19 Updating to version 3.0.19

This commit is contained in:
Alejandro Lembke Barrientos 2024-04-17 20:59:45 +00:00
parent 03b01cbae3
commit 65644a8b14
Signed by: aleleba
GPG Key ID: F48D7CDEB47942BD
2 changed files with 3 additions and 3 deletions

View File

@ -69,14 +69,14 @@ if ! id -u $HOME_USER > /dev/null 2>&1; then
fi
# Changing the property of the directory /home/${HOME_USER}/.vscode
sudo chown -R ${HOME_USER}: /home/${HOME_USER}/.vscode
sudo chown -R ${HOME_USER} /home/${HOME_USER}/.vscode
fi
# Then execute entrypoint.sh
if [ "$HOME_USER" != "$(whoami)" ]; then
exec sudo -u $HOME_USER bash -c "source /etc/environment; /usr/bin/entrypoint.sh"
else
sudo chown -R 1000: /home/${HOME_USER}
sudo chown -R 1000 /home/${HOME_USER}
fi
# Find .sh files in /usr/bin/custom-scripts and execute them in order

View File

@ -1 +1 @@
3.0.18
3.0.19