From 8be534dd2c83a437bd76a4d196a58cbc3e3caf68 Mon Sep 17 00:00:00 2001 From: sneak Date: Sat, 11 Apr 2020 16:41:22 -0700 Subject: [PATCH] fixing error msgs --- build/run.sh | 7 ++++++- root/home/user/.local/profile.d/100.spyware.sh | 0 2 files changed, 6 insertions(+), 1 deletion(-) mode change 100755 => 100644 root/home/user/.local/profile.d/100.spyware.sh diff --git a/build/run.sh b/build/run.sh index 104f10c..970e98d 100644 --- a/build/run.sh +++ b/build/run.sh @@ -2,6 +2,9 @@ echo "##### build/run.sh" +export LANG="en_US.UTF-8" +export LANGUAGE="en_US:en" + set -x TD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd)" @@ -18,8 +21,10 @@ SSH_HOST_KEY_FILES=" ssh_host_rsa_key ssh_host_rsa_key.pub " - +echo "en_US.UTF-8 UTF-8" > /etc/locale.gen locale-gen en_US.UTF-8 +update-locale LANG=en_US +dpkg-reconfigure locales for FN in $SSH_HOST_KEY_FILES ; do ln -s /hostroot/etc/ssh/$FN /etc/ssh/$FN diff --git a/root/home/user/.local/profile.d/100.spyware.sh b/root/home/user/.local/profile.d/100.spyware.sh old mode 100755 new mode 100644