mirror of
https://github.com/neosubhamoy/neodlp-website.git
synced 2026-02-04 13:22:23 +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."
|
||||
|
||||
Reference in New Issue
Block a user