aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/inst2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/inst b/utils/inst
index fe4b5d7..5279365 100644
--- a/utils/inst
+++ b/utils/inst
@@ -8,7 +8,7 @@ ask() {
else
echo -e -n "\e[1;34m$1? (Y/n) \e[0m"
read
- [[ $REPLY =~ ^[Yy]?$ ]]
+ echo "$REPLY" | grep -qE '^[Yy]?$'
fi
}