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

Re: SVN texlive (new) commit: r2708 - texlive-new/trunk/texlive-bin/debian



Norbert Preining <preining@alioth.debian.org> wrote:

> Author: preining
> Date: 2007-04-17 16:47:52 +0000 (Tue, 17 Apr 2007)
> New Revision: 2708
>
> Modified:
>    texlive-new/trunk/texlive-bin/debian/texlive-base-bin.postinst.post
> Log:
> fix update-alternatives stuff ... it was non-functional at all

Sorry, yes.  What I meant was

if [ "$(update-alternatives --list xdvi.bin)" = "/usr/bin/xdvi.real" ]; then
  # points to tetex file
  update-alternatives --remove xdvi.bin /usr/bin/xdvi.real
fi
update-alternatives --install ...

I still think --list is nicer than display+grep.

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



Reply to: