* Martin Quinson <[EMAIL PROTECTED]> [2002-05-16 11:22]: > # Fix some variable to make the paths shorter in the rest > oohome="$HOME/.openoffice" > lingfile="$oohome/user/config/registry/instance/org/openoffice/Office/Linguistic.xml" > setupfile="$oohome/user/config/registry/instance/org/openoffice/Setup.xml"
That is a good starting point to make it easier to extend the script from hardcoded oohome to parsed ~/.sversionrc oohome :) > # Search the right locale > if [ -e $oohome/lang.debian ] ; then > OLDLOCALE=`cat $oohome/lang.debian` > else > OLDLOCALE=en-US > fi > LOCALE=$LC_ALL > if [ -z $LOCALE ] ; then LOCALE="$LC_MESSAGES"; fi > if [ -z $LOCALE ] ; then LOCALE="$LANG"; fi > if [ -z $LOCALE ] ; then LOCALE="en-US"; fi ... uhm, en-US? Isn't that broken and should be en_US instead? > unset SESSION_MANAGER Nice boy ,-) > ~/.openoffice/soffice That should be changed to $oohome/soffice too. Don't know if you missed it somewhere else, too. Have fun, ALfie -- "I get knocked down But I get up again You're never going to keep me down" -- Chumbawamba
pgp1LTKyyynGN.pgp
Description: PGP signature