From 515c4073c4b5191493d15d5185774ae43fc3edf4 Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 18 Sep 2025 02:54:47 -0400 Subject: [PATCH] Gatus: check for GO path before update (#7705) --- ct/gatus.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ct/gatus.sh b/ct/gatus.sh index a3f0112e2..31ce85cab 100644 --- a/ct/gatus.sh +++ b/ct/gatus.sh @@ -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"