From a1af290a104e7a1b85cb9eefb2d87e8efb0c9bd0 Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Fri, 10 Oct 2025 17:54:51 +0530 Subject: [PATCH] fix: reinstall prompt not showing --- public/linux_installer.sh | 2 +- public/macos_installer.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/linux_installer.sh b/public/linux_installer.sh index 8698d26..689328c 100644 --- a/public/linux_installer.sh +++ b/public/linux_installer.sh @@ -10,7 +10,7 @@ echo "### === NeoDLP Installer (Linux) === ###" echo "🔍 Checking system requirements..." if command -v neodlp &> /dev/null; then echo "❗ NeoDLP is already installed at $(which neodlp)" - read -p "❓ Would you like to reinstall/update? (y/N): " -n 1 -r + read -p "❓ Would you like to reinstall/update? (y/N): " -r REPLY echo if [[ ! $REPLY =~ ^[Yy]$ ]]; then echo "🛑 Installation aborted." diff --git a/public/macos_installer.sh b/public/macos_installer.sh index b41806e..b851a51 100644 --- a/public/macos_installer.sh +++ b/public/macos_installer.sh @@ -10,7 +10,7 @@ echo "### === NeoDLP Installer (MacOS) === ###" echo "🔍 Checking system requirements..." if [ -d "/Applications/NeoDLP.app" ]; then echo "❗ NeoDLP is already installed at /Applications/NeoDLP.app" - read -p "❓ Would you like to reinstall/update? (y/N): " -n 1 -r + read -p "❓ Would you like to reinstall/update? (y/N): " -r REPLY echo if [[ ! $REPLY =~ ^[Yy]$ ]]; then echo "🛑 Installation aborted."