mirror of
https://github.com/neosubhamoy/neodlp-website.git
synced 2026-02-04 12:22:21 +05:30
fix: reinstall prompt not showing
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user