Skip to content

Commit

Permalink
perf: 添加备注
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Jan 21, 2021
1 parent 9461f3a commit b31cc52
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/4_install_jumpserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ function set_lang() {
LANG='en_US.UTF-8'
fi
echo "export LANG=${LANG}" >> ~/.bashrc
echo "export LANG=${LANG}" >> ${PROJECT_DIR}/static.env
# 之所以这么设置,是因为设置完 ~/.bashrc,就不会再询问,然而 LANG 环境变量,在用户当前 bash 进程中不生效
echo "export LANG=${LANG}" >> "${PROJECT_DIR}"/static.env
export LANG
}

Expand Down

0 comments on commit b31cc52

Please sign in to comment.