mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
etc/profile: locale settings might have changed since SetupEnvironment.
Before this, changing the locale settings via Locale preflet required a reboot in order for the changes to get picked up by programs running on Terminal. Fixes: #18734 Change-Id: I149931c511020f9eb881e71f79d1fd6c647477e2 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7792 Reviewed-by: nephele nephele <nep-git@packageloss.eu> Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
parent
c3cad23617
commit
3761b2f420
@ -68,3 +68,11 @@ if [ -d /etc/profile.d ]; then
|
||||
done
|
||||
unset i
|
||||
fi
|
||||
|
||||
# Locale
|
||||
export LC_MESSAGES=`locale --message`
|
||||
export LC_NUMERIC=`locale --format`
|
||||
export LC_TIME=`locale --time`
|
||||
export LC_COLLATE=$LC_MESSAGES
|
||||
export LC_CTYPE=$LC_MESSAGES
|
||||
export LC_MONETARY=$LC_NUMERIC
|
||||
|
Loading…
Reference in New Issue
Block a user