[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem: OOo 1.0.1 not keeping setting upon restart



On Wed, Aug 14, 2002 at 01:11:40AM +0200, Jerome Warnier wrote:
> I then analysed and modified Linguistic.xml(.fr_FR) and 
> Setup.xml(.fr_FR)but changes were overriden at each OOo restart (which 
> is exactly the problem).
> It seems that /usr/bin/openoffice is doing this at each restart.

Ah, thanks for the analysis.  I would suspect something is going wrong here:

  # Create Linguistic.xml if don't exists
  if [ ! -e $LINGFILE.$OLDLOCALE ] ; then
    # get a default one, and change en-US to OLDLOCALE inside. I guess this is a noop, but I'm not sure
    sed "s/>en-US</>$OLDLOCALE</" \
      < /usr/lib/openoffice/share/config/registry/instance/org/openoffice/Office/Linguistic.xml \
      > $LINGFILE.$OLDLOCALE
  fi

Try adding this line below the if [ !e .. line:

  echo `basename $LINGFILE`.$OLDLOCALE not found

and see if that is printed every time.

Also, you could add a 'set -x' at the top and post the output - that way we
could see how it is behaving.

Chris

Attachment: pgp_jtglFoNep.pgp
Description: PGP signature


Reply to: