mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-19 01:31:57 +00:00
Gatus: check for GO path before update (#7705)
This commit is contained in:
parent
30e22ff661
commit
515c4073c4
@ -33,6 +33,11 @@ function update_script() {
|
||||
systemctl stop gatus
|
||||
msg_ok "Stopped $APP"
|
||||
|
||||
if [[ :$PATH: != *":/usr/local/bin:"* ]]; then
|
||||
echo 'export PATH="/usr/local/bin:$PATH"' >>~/.bashrc
|
||||
source ~/.bashrc
|
||||
fi
|
||||
|
||||
mv /opt/gatus/config/config.yaml /opt
|
||||
rm -rf /opt/gatus
|
||||
fetch_and_deploy_gh_release "gatus" "TwiN/gatus"
|
||||
|
Loading…
x
Reference in New Issue
Block a user