Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Sep 1996 00:38:43 +0200 (MET DST)
From:      Robert Eckardt <roberte@mep.ruhr-uni-bochum.de>
To:        bugs@freebsd.org
Subject:   locale on 2.1.5 non-functional
Message-ID:  <199609082238.AAA02067@gluon.mep.ruhr-uni-bochum.de>

next in thread | raw e-mail | index | archive | help
Hi,

I found that the locale environment in FBSD-2.1.5-R
has become non-functional for e.g. german LANG
-- at least when newly installed.

One can see from /cdrom/dists/bin/bin.??, e.g.
drwxr-xr-x bin/bin   0 Jul 17 04:03 1996 usr/share/locale/de_DE.ISO_8859-1/
lrwxr-xr-x bin/bin   0 Jul 17 04:09 1996 usr/share/locale/de -> de_DE.ISO_8859-1

But the directories never get filled.

It should be (as in 2.1.0-R)
lrwxr-xr-x bin/bin   0 Nov 16 10:40 1995 usr/share/locale/de_DE.ISO_8859-1 -> lt_LN.ISO_8859-1

The following script will fix this (run as root, of course :-)
It doesn't do any error checking, so check yourself that
the situation applies to you.
8<---8<-----------------------------------------------------------------------
#!/bin/csh -f

cd /usr/share/locale

rmdir da_DK.ISO_8859-1 de_AT.ISO_8859-1 de_CH.ISO_8859-1 de_DE.ISO_8859-1 \
      en_AU.ISO_8859-1 en_CA.ISO_8859-1 en_GB.ISO_8859-1 en_US.ISO_8859-1 \
      es_ES.ISO_8859-1 fi_FI.ISO_8859-1 fr_BE.ISO_8859-1 fr_CA.ISO_8859-1 \
      fr_CH.ISO_8859-1 fr_FR.ISO_8859-1 is_IS.ISO_8859-1 it_CH.ISO_8859-1 \
      it_IT.ISO_8859-1 nl_BE.ISO_8859-1 nl_NL.ISO_8859-1 no_NO.ISO_8859-1 \
      pt_PT.ISO_8859-1 sv_SE.ISO_8859-1

foreach x (da_DK.ISO_8859-1 de_AT.ISO_8859-1 de_CH.ISO_8859-1 de_DE.ISO_8859-1 \
           en_AU.ISO_8859-1 en_CA.ISO_8859-1 en_GB.ISO_8859-1 en_US.ISO_8859-1 \
           es_ES.ISO_8859-1 fi_FI.ISO_8859-1 fr_BE.ISO_8859-1 fr_CA.ISO_8859-1 \
           fr_CH.ISO_8859-1 fr_FR.ISO_8859-1 is_IS.ISO_8859-1 it_CH.ISO_8859-1 \
           it_IT.ISO_8859-1 nl_BE.ISO_8859-1 nl_NL.ISO_8859-1 no_NO.ISO_8859-1 \
           pt_PT.ISO_8859-1 sv_SE.ISO_8859-1)
        ln -s lt_LN.ISO_8859-1 $x
end
8<---8<-----------------------------------------------------------------------

Have fun,
Robert

-- 
Robert Eckardt                                                     (
    Ruhr-Universitaet Bochum, Inst.f.Theor.Physik, NB6/169          )
    Universitaetsstrasse 150,   D-44780 Bochum,    Germany     ----X---8----
    Telefon: +49 234 700-3709,   Telefax: +49 234 7094-574             8
    E-Mail:  RobertE@MEP.Ruhr-Uni-Bochum.de                    --------8----
    URL:  http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte
>>> To be successful one needs friends,                                  <<<
>>> To be very successful one needs enemies.                             <<<



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609082238.AAA02067>