From 793f8ec201c87c8c177ebe4ad384717b4685af14 Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 24 Apr 2023 08:35:46 +0800 Subject: [PATCH] Update create_ct.sh --- scripts/create_ct.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/create_ct.sh b/scripts/create_ct.sh index 221aa18..4376de4 100644 --- a/scripts/create_ct.sh +++ b/scripts/create_ct.sh @@ -10,6 +10,9 @@ 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"; } +export LC_ALL=en_US.utf8 +export LANG=en_US.utf8 + pre_check(){ home_dir=$(eval echo "~$(whoami)")