mirror of https://github.com/mack-a/v2ray-agent
fix(脚本): 设置环境语言为en_US.UTF-8以修复当本地是非en_US.UTF-8时导致无法检测CPU架构问题
parent
9e0f28cd8d
commit
1e30e63a23
|
@ -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 "Github:https://github.com/mack-a/v2ray-agent"
|
||||
echoContent green "描述:八合一共存脚本\c"
|
||||
showInstallStatus
|
||||
|
|
Loading…
Reference in New Issue