Update create_ct.sh

This commit is contained in:
spiritLHLS 2023-04-24 08:35:46 +08:00 committed by GitHub
parent 6444a1dc55
commit 793f8ec201
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)")