aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-12 08:39:15 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-12 08:39:56 +0200
commit70b6d4eb31f2af2e404c2f8c1ab8062f530186f1 (patch)
tree3e92944999bb7c40c9a7fabb66e936e2815d1e6e /utils
parent567c309656a3833aca82563853a739139f9045a5 (diff)
parentcc572cbda6e92322ac6129d9dc92050c5fb857f9 (diff)
downloadmyconfigs-70b6d4eb31f2af2e404c2f8c1ab8062f530186f1.tar.gz
myconfigs-70b6d4eb31f2af2e404c2f8c1ab8062f530186f1.tar.bz2
myconfigs-70b6d4eb31f2af2e404c2f8c1ab8062f530186f1.zip
Merge branch 'master' into server
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
}