From 5c9db9811ab73fea0b6619ef0f24a06cc2f21c16 Mon Sep 17 00:00:00 2001 From: SuperYuIuo <39399442+SuperYuIuo@users.noreply.github.com> Date: Thu, 27 Apr 2023 20:48:55 +0800 Subject: [PATCH] Update R.sh --- install_scripts/R.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install_scripts/R.sh b/install_scripts/R.sh index 14d49cb..4b4f2b2 100644 --- a/install_scripts/R.sh +++ b/install_scripts/R.sh @@ -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"