From 4018ec53d912f7f3ca1bedc2f60e3f4f95b490dc Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Thu, 14 Aug 2025 14:09:43 +0000 Subject: [PATCH] fix: ensure install directory exists before copying binary addresses #311 - installer was trying to copy pulse binary before creating /opt/pulse directory --- install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install.sh b/install.sh index 1d01bb741..cffdee851 100755 --- a/install.sh +++ b/install.sh @@ -197,6 +197,9 @@ download_pulse() { mkdir -p "$TEMP_EXTRACT" tar -xzf pulse.tar.gz -C "$TEMP_EXTRACT" + # Ensure install directory exists before copying + mkdir -p "$INSTALL_DIR" + # Copy Pulse binary from bin/ directory (standard structure as of v4.3.1) if [[ -f "$TEMP_EXTRACT/bin/pulse" ]]; then cp "$TEMP_EXTRACT/bin/pulse" "$INSTALL_DIR/pulse"