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

Re: Sorting out the xdvi.bin problem



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.

Christoph



Reply to: