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

Re: Updating Sarge teTeX to etch/sid TeX live ... help



Hi fellow TeX maintainers!

Updating from sarge/tetex2 to texlive:

What about adding the following code to the preinst code of all texlive
packages in the upgrade|install part?

    # check for the presence of tetex2 packages by checking for
    # /etc/texmf/fmt.d/00tetex.cnf
    if [ -r /etc/texmf/fmt.d/00tetex.cnf ] ; then
      echo "You are upgrading from teTeX 2." >&2
      echo "We move the following conflicting config files to file.disabled," >&
2
      echo "After successfull installation you can remove these files." >&2
      echo "  /etc/texmf/fmt.d/00tetex.cnf  -> 00tetex.cnf.disabled" >&2
      echo "  /etc/texmf/updmap.d/00updmap.cfg -> 00updmap.cfg.disabled" >&2
      echo " " >&2
      echo "It would be a good idea to purge all the tetex packages!" >&2
      mv /etc/texmf/fmt.d/00tetex.cnf /etc/texmf/fmt.d/00tetex.cnf.disabled
      if [ -r /etc/texmf/updmap.d/00updmap.cfg ] ; then
        mv /etc/texmf/updmap.d/00updmap.cfg /etc/texmf/updmap.d/00updmap.cfg.dis
abled
      fi
    fi


Any comments?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at>                    Università di Siena
Debian Developer <preining@debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
HUCKNALL (vb.)
To crouch upwards: as in the movement of a seated person's feet and
legs made in order to allow a cleaner's hoover to pass beneath them.
			--- Douglas Adams, The Meaning of Liff



Reply to: