From 023319f8facc9811fd1802d0e477b41361e5f5f5 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 24 Apr 2023 09:19:04 +0800 Subject: [PATCH] Update create_ct.sh --- scripts/create_ct.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create_ct.sh b/scripts/create_ct.sh index 857d7c0..3a876f1 100644 --- a/scripts/create_ct.sh +++ b/scripts/create_ct.sh @@ -9,7 +9,7 @@ _red() { echo -e "\033[31m\033[01m$@\033[0m"; } _green() { echo -e "\033[32m\033[01m$@\033[0m"; } _yellow() { echo -e "\033[33m\033[01m$@\033[0m"; } _blue() { echo -e "\033[36m\033[01m$@\033[0m"; } -reading(){ read -rp "$(green "$1")" "$2"; } +reading(){ read -rp "$(_green "$1")" "$2"; } utf8_locale=$(locale -a 2>/dev/null | grep -i -m 1 utf8) if [[ -z "$utf8_locale" ]]; then _yellow "No UTF-8 locale found"