From dfc116fedc4c7a5c6f20ba871abbab2f5233ae51 Mon Sep 17 00:00:00 2001 From: "courtmanr@gmail.com" Date: Thu, 1 May 2025 14:23:45 +0100 Subject: [PATCH] Fix: Replace read -p with echo/read for compatibility --- scripts/install-pulse.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/install-pulse.sh b/scripts/install-pulse.sh index 571d6c5f3..24e58997a 100644 --- a/scripts/install-pulse.sh +++ b/scripts/install-pulse.sh @@ -99,7 +99,9 @@ self_update_check() { # Compare the downloaded script with the running script if ! diff -q "$SCRIPT_ABS_PATH" "$temp_script" >/dev/null 2>&1; then print_warning "A newer version of the installation script is available." - read -p "Do you want to update the installer and re-run? (Y/n): " update_confirm + # Use separate echo and read for better compatibility + echo -n "Do you want to update the installer and re-run? (Y/n): " + read update_confirm if [[ ! "$update_confirm" =~ ^[Nn]$ ]]; then # Default Yes print_info "Updating installer script..." # Make the new script executable