mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-29 19:50:53 -04:00
Apply suggestions from code review
Signed-off-by: Howard Tseng <howardt12345@gmail.com>
This commit is contained in:
@@ -10,6 +10,9 @@ echo "**** Setting up poetry ****"
|
||||
curl -sSL https://install.python-poetry.org | python3 -
|
||||
|
||||
# Add poetry to the path
|
||||
echo "export PATH=\"\$HOME/.local/bin:\$PATH\"" >> /root/.bashrc
|
||||
echo "**** ensuring poetry is in PATH ****"
|
||||
if ! grep -q "$HOME/.local/bin" /var/run/s6/container_environment/PATH; then
|
||||
printf ':$HOME/.local/bin' >> /var/run/s6/container_environment/PATH
|
||||
fi
|
||||
|
||||
echo "**** poetry setup complete ****"
|
||||
Reference in New Issue
Block a user