remove unneccessary lines

This commit is contained in:
Mark Eaton
2026-02-22 16:25:24 -05:00
parent 1669843393
commit 0da75217e4
3 changed files with 6 additions and 4 deletions
+4 -1
View File
@@ -19,10 +19,13 @@ STATUS="${2:-unknown}"
HOSTNAME=$(hostname)
TIMESTAMP=$(date '+%Y-%m-%d %H:%M:%S %Z')
# Load config from file if not set
# Load config from file if not set (system-wide, then user override)
if [[ -f /etc/notify-gitea.conf ]]; then
source /etc/notify-gitea.conf
fi
if [[ -f "${HOME}/.config/notify-gitea.env" ]]; then
source "${HOME}/.config/notify-gitea.env"
fi
# Validate required variables
for var in GITEA_URL GITEA_TOKEN GITEA_OWNER GITEA_REPO; do