fix: add missing SKIP_DOWNLOAD initialization

Addresses #459 #461 - Consolidates variable initialization at the top
of the script alongside other defaults. Removes redundant BUILD_FROM_SOURCE
initialization from argument parsing section.
This commit is contained in:
Pulse Monitor
2025-09-30 10:50:59 +00:00
parent d7d9a9e1f4
commit 347aa9e6d6
+2 -1
View File
@@ -17,6 +17,8 @@ INSTALL_DIR="/opt/pulse"
CONFIG_DIR="/etc/pulse" # All config and data goes here for manual installs
SERVICE_NAME="pulse"
GITHUB_REPO="rcourtman/Pulse"
BUILD_FROM_SOURCE=false
SKIP_DOWNLOAD=false
# Wrapper for systemctl commands that might hang in unprivileged containers
safe_systemctl() {
@@ -2372,7 +2374,6 @@ reset_pulse() {
# Parse command line arguments
FORCE_VERSION=""
FORCE_CHANNEL=""
BUILD_FROM_SOURCE=false
SOURCE_BRANCH="main"
IN_CONTAINER=false
IN_DOCKER=false