]>
Commit | Line | Data |
---|---|---|
7e04fe0e | 1 | #!/bin/csh |
b0443108 | 2 | # |
b0443108 | 3 | # |
61f5a549 ER |
4 | # FIXME: this file is broken, as you can see it does nothing (does not actually load i18n file) |
5 | # TODO: sync with lang.sh | |
6 | # | |
7e04fe0e | 7 | |
458f14b7 AM |
8 | test -f /etc/sysconfig/i18n |
9 | if ($status == 0) then | |
1050f687 JR |
10 | if ($?LANG) then |
11 | setenv LANG | |
12 | endif | |
13 | if ($?LC_ALL) then | |
14 | setenv LC_ALL | |
15 | endif | |
16 | if ($?LINGUAS) then | |
17 | setenv LINGUAS | |
18 | endif | |
19 | if ($?SYSTERM) then | |
20 | setenv TERM=$SYSTERM | |
21 | endif | |
22 | if ($?_XKB_CHARSET) then | |
23 | setenv _XKB_CHARSET | |
24 | endif | |
25 | if ($?INPUTRC) then | |
26 | setenv INPUTRC | |
27 | endif | |
28 | if ($?LESSCHARSET) then | |
29 | setenv LESSCHARSET | |
30 | else if ($TERM == linux-lat) then | |
31 | setenv LESSCHARSET latin1 | |
32 | endif | |
458f14b7 | 33 | endif |