更新 install.sh

This commit is contained in:
星光-k
2025-01-09 02:52:10 +00:00
committed by GitHub
parent d2c83e533d
commit 1efc2ac7b9

View File

@@ -1,5 +1,11 @@
#!/bin/bash
# 确保脚本以root用户运行
if [ "$EUID" -ne 0 ]; then
echo "Please run as root or with sudo."
exit
fi
# 设置默认的语言环境为英文zh_CN.UTF-8可以根据需要修改
DEFAULT_LANG="zh_CN.UTF-8"