Update R.sh

This commit is contained in:
SuperYuIuo 2023-04-27 20:48:55 +08:00 committed by GitHub
parent feb5e1b4b5
commit 5c9db9811a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,8 @@
#by spiritlhl
#from https://github.com/spiritLHLS/one-click-installation-script
#version: 2023.04.08
utf8_locale=$(locale -a 2>/dev/null | grep -i -m 1 -E "UTF-8|utf8")
if [[ -z "$utf8_locale" ]]; then
echo "No UTF-8 locale found"