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

Bug#382861: Updating Sarge teTeX to etch/sid TeX live ... help



Hi,

one mail that I wrote didn't make it to the bug archive and the mailing
list, maybe I sent it only to Gernot?  It was mostly wrong, anyway.

Gernot Salzer <salzer@logic.at> wrote:

>> All these entries for mfw and mf come from teTeX in woody.  In other
>> words, during the upgrade from woody to sarge, you have chosen to keep
>> the settings for these four formats at their old values.
>
> Not knowingly. 

In fact.  This is something that always happens when you upgrade
(e.g. noninteractively) from woody to sarge and then to etch.  The
following piece of code will fix it.  Norbert, do you agree that we
should ship the code in tex-common and execute it by tetex-bin and some
texlive package?

This is what should be added to create_localconf:

if [ "$UPDATEPROG" = update-fmtutil ]; then
  # if the system has been upgraded from woody, there will be four bogus lines.
  # Remove them
  tmpfile=`mktexmp`
  egrep -v \
    "mf[[:space:]]*mf[[:space:]]*-[[:space:]]*mf.ini|\
mfw[[:space:]]*mfw[[:space:]]*-[[:space:]]*mf.ini|\
pdftex[[:space:]]*pdftex[[:space:]]*language.dat[[:space:]]*pdftex.ini|\
omega[[:space:]]*omega[[:space:]]*language.dat*[[:space:]]*omega.ini" \
    $DESTFILE > $tmpfile
  mv $tmpfile > $DESTFILE
fi

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: