]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - lang.csh
rc.sysinit: move /proc/cmdline parsing to single function
[projects/rc-scripts.git] / lang.csh
index 0e5028b8f5af66b59de117e36cfd26dfbd8067e2..2534c02e415be9dc9492a179f42f7056ffde9c60 100755 (executable)
--- a/lang.csh
+++ b/lang.csh
@@ -1,39 +1,34 @@
 #!/bin/csh
 #
-#      $Id: lang.csh,v 1.4 2001/05/15 16:03:33 baggins Exp $
+# $Id$
+#
+# FIXME: this file is broken, as you can see it does nothing (does not actually load i18n file)
+# TODO: sync with lang.sh
 #
 
 test -f /etc/sysconfig/i18n
 if ($status == 0) then
-
-    if ($?LANG) then
-       setenv LANG
-    endif
-
-    if ($?LC_ALL) then
-       setenv LC_ALL
-    endif
-  
-    if ($?LINGUAS) then
-       setenv LINGUAS
-    endif
-  
-    if ($?SYSTERM) then
-       setenv TERM=$SYSTERM
-    endif
-
-    if ($?_XKB_CHARSET) then
-       setenv _XKB_CHARSET
-    endif
-
-    if ($?INPUTRC) then
-       setenv INPUTRC
-    endif
-
-    if ($?LESSCHARSET) then
-       setenv LESSCHARSET
-    else if ($TERM == linux-lat) then
-       setenv LESSCHARSET latin1
-    endif
-
+       if ($?LANG) then
+               setenv LANG
+       endif
+       if ($?LC_ALL) then
+               setenv LC_ALL
+       endif
+       if ($?LINGUAS) then
+               setenv LINGUAS
+       endif
+       if ($?SYSTERM) then
+               setenv TERM=$SYSTERM
+       endif
+       if ($?_XKB_CHARSET) then
+               setenv _XKB_CHARSET
+       endif
+       if ($?INPUTRC) then
+               setenv INPUTRC
+       endif
+       if ($?LESSCHARSET) then
+               setenv LESSCHARSET
+       else if ($TERM == linux-lat) then
+               setenv LESSCHARSET latin1
+       endif
 endif
This page took 0.047705 seconds and 4 git commands to generate.