mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 02:33:32 +00:00
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:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user