From d1f69c55f9981ce4bc1f229c937ddd341e1e6993 Mon Sep 17 00:00:00 2001 From: bryan Date: Thu, 24 Apr 2025 22:46:12 -0400 Subject: [PATCH] Accept one-letter y/n --- installJRMC | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index bf46f45..cef77b3 100755 --- a/installJRMC +++ b/installJRMC @@ -1801,7 +1801,7 @@ ask_ok() { ((YES_SWITCH)) && return 0 read -n 1 -r -p "$* [y/N]: " response echo - [[ ${response,,} =~ ^y$ ]] + [[ ${response,,} == y ]] } execute() { if debug "$*"; then