mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-04 01:38:12 +08:00
Update buildct.sh
This commit is contained in:
parent
59b5268939
commit
e0e820d3bd
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,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"
|
||||
|
|
Loading…
Reference in a new issue