From 159503b4c9b6a936e3b41400060749b67e0aabac Mon Sep 17 00:00:00 2001 From: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com> Date: Wed, 26 Apr 2023 16:28:30 +0800 Subject: [PATCH] Update install_pve.sh --- scripts/install_pve.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index c501bdc..bb0c6f3 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -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"