From 72bb5ae06f05fc9a8c237a318a34343ade25c1b9 Mon Sep 17 00:00:00 2001 From: axel Date: Thu, 12 Jan 2006 00:23:40 +1000 Subject: [PATCH] Use /etc/sysconfig/i18n file if it exists to set up correct locale darcs-hash:20060111142340-ac50b-b0483ffd46eb6eb31defbd69b821fc088ff30004.gz --- init/fish.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/init/fish.in b/init/fish.in index 53da083f7..a07a884ef 100644 --- a/init/fish.in +++ b/init/fish.in @@ -41,6 +41,10 @@ if status --is-login if not set -q LANG >/dev/null set -gx LANG en_US.UTF-8 end + + if test -f /etc/sysconfig/i18n + eval (cat /etc/sysconfig/i18n |sed -ne 's/^\([a-zA-Z]*\)=\(.*\)$/set -gx \1 \2;/') + end end