mirror of
https://github.com/kxgx/2.13-Ink-screen-clock.git
synced 2026-03-15 07:03:16 +08:00
更新 install.sh
This commit is contained in:
@@ -33,8 +33,11 @@ while [ "$#" -gt 0 ]; do
|
||||
shift
|
||||
done
|
||||
|
||||
# 获取当前语言环境
|
||||
CURRENT_LANG=$(echo $LANG)
|
||||
|
||||
# 设置语言环境
|
||||
if [ "$LANG" != "$DEFAULT_LANG" ]; then
|
||||
if [ "$CURRENT_LANG" != "$DEFAULT_LANG" ]; then
|
||||
export LANG=$DEFAULT_LANG
|
||||
export LC_ALL=$DEFAULT_LANG
|
||||
|
||||
|
||||
Reference in New Issue
Block a user