mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
Get rid of tr
This commit is contained in:
parent
4710a15536
commit
c2ae78d4db
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ function confirm() {
|
|||
echo -n "> $1 [Y/n] "
|
||||
local RESPONSE
|
||||
read RESPONSE
|
||||
RESPONSE=$(echo "$RESPONSE" | tr '[:upper:]' '[:lower:]')
|
||||
RESPONSE="${RESPONSE,,}" # Convert to lowercase
|
||||
if [[ -z "$RESPONSE" ]] || [[ "$RESPONSE" = "y" ]] || [[ "$RESPONSE" = "yes" ]]; then
|
||||
return 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue