Re: Sorting out the xdvi.bin problem
On Mon, Jul 09, 2001 at 02:17:21PM +0200, Christoph Martin wrote:
> Julian Gilbey writes:
> > I haven't been keeping track of this list for the last couple of
> > weeks, but I know that this problem keeps rearing its head for
> > people. I just noticed it on my machine: the xdvi.bin link is in
> > manual mode, but /usr/bin/xdvi.bin doesn't actually exist. Perhaps
> > the postinst could do something like the following:
> >
> > if [ ! -L /usr/bin/xdvi.bin ]; then
> > update-alternatives --auto xdvi.bin
> > fi
> >
>
> I think this solution is really the best one. We can keep
> update-alternatives. The only drawback is that someone might have
> switched to manual mode on purpose and this would change it back.
That's why the test for the *presence* of xdvi.bin; this would still
be a problem even if they had changed to manual.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: