mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 11:38:00 +08:00
Update install_pve.sh
This commit is contained in:
parent
5abf3d129a
commit
159503b4c9
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,8 @@ _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 DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
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