From 1aa62fb89427a718315d5b6ef092322b2d72e53e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E5=85=89-k?= <36470587+kxgx@users.noreply.github.com> Date: Sun, 12 Jan 2025 03:46:47 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20install.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/install.sh b/bin/install.sh index 4961a5a..13eedf4 100644 --- a/bin/install.sh +++ b/bin/install.sh @@ -33,8 +33,8 @@ while [ "$#" -gt 0 ]; do shift done -# 获取当前语言环境 -CURRENT_LANG=$LANG +# 获取当前语言环境变量 +CURRENT_LANG=$(echo $LANG) # 设置语言环境 if [ "$CURRENT_LANG" != "$DEFAULT_LANG" ]; then