Skip to Content.
Sympa Menu

en - [sympa-users] Re: Re: Re: Re: Re: Debian sympa package

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Jean Charles Delepine <address@concealed>
  • To: "Stefan Hornburg (Racke)" <address@concealed>
  • Cc: address@concealed, address@concealed, Sylvain Amrani <address@concealed>
  • Subject: [sympa-users] Re: Re: Re: Re: Re: Debian sympa package
  • Date: Thu, 14 Dec 2006 21:31:16 +0100

"Stefan Hornburg (Racke)" <address@concealed> écrivait (wrote) :

> How do you work around the problem that some directives are gone away
> in 5.x on the upgrade from sarge ?

Mostly by forgotting to work around, I beg. If you have some directives in
mind and if they aren't worked around, you're welcome.

For some of them, by some dirty magics :

languages=`sed '/^#/d; /^$/d; s/^\(.*\)_.*/\1/; s/^en/us/' /etc/locale.gen |
sort -u | tr '\n' ',' | sed 's/,$//'`

if grep -q "^\s*supported_lang" /etc/sympa/sympa.conf ; then
perl -pi.old -e "s/^\s*lang.*$/lang\t\t$lang/;" /etc/sympa/sympa.conf
perl -i -pe "s/^\s*supported_lang.*$/supported_lang\t\t$languages/;"
/etc/sympa/sympa.conf
else
perl -i -pe "s/^\s*lang.*$/lang\t\t$lang\nsupported_lang\t\t$languages/;"
/etc/sympa/sympa.conf
fi
rm -f /etc/sympa/sympa.conf.old

Or quiet brutally :

perl -pi.old -e 's£^\s*msgcat.*$£localedir\t\t/usr/share/sympa/locale£;'
/etc/sympa/sympa.conf
rm -f /etc/sympa/sympa.conf.old

xx_colour => color_? are not worked around (I thought I done it...).

The templates are replaced by their new version, the personnalised templates
are converted by sympa but not used, the admin should have a look to them.

...

--
> R : Tu vois ! || Jean Charles Delépine - Université de Picardie
> > Q : Tu crois ?
> > > R : Ça casse l'ordre chronologique de l'échange.
> > > > Q : En quoi répondre au dessus est-il gênant ?



Archive powered by MHonArc 2.6.19+.

Top of Page