mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-23 11:46:28 +00:00
fix: ensure install directory exists before copying binary
addresses #311 - installer was trying to copy pulse binary before creating /opt/pulse directory
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user