locale: Dedup in /etc/profile

This commit is contained in:
Xi Ruoyao 2024-01-28 21:06:19 +08:00
parent 5dd707361f
commit 7c630340c2
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3

View File

@ -166,10 +166,6 @@ for i in $(locale); do
done
if [[ "$TERM" = linux ]]; then
for i in $(locale); do
unset ${i%=*}
done
export LANG=C
else
export LANG=<replaceable>&lt;ll&gt;_&lt;CC&gt;.&lt;charmap&gt;&lt;@modifiers&gt;</replaceable>