fix(脚本): 设置环境语言为en_US.UTF-8以修复当本地是非en_US.UTF-8时导致无法检测CPU架构问题

pull/534/merge
mack-a 2021-05-27 14:22:54 +08:00
parent 9e0f28cd8d
commit 1e30e63a23
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@
# 检测区
# -------------------------------------------------------------
# 检查系统
export LANG=en_US.UTF-8
checkSystem() {
if [[ -n $(find /etc -name "redhat-release") ]] || grep </proc/version -q -i "centos"; then
mkdir -p /etc/yum.repos.d
@ -3795,7 +3796,7 @@ menu() {
cd "$HOME" || exit
echoContent red "\n=============================================================="
echoContent green "作者mack-a"
echoContent green "当前版本v2.4.27"
echoContent green "当前版本v2.4.28"
echoContent green "Githubhttps://github.com/mack-a/v2ray-agent"
echoContent green "描述:八合一共存脚本\c"
showInstallStatus