Hi

on a cleaned sid tex installation /usr/lib/texmf does not exists.
texmf.cnf is in /etc/texmf/.

first install and reconfigure output:
 dpkg-reconfigure lyx-common
grep: /usr/lib/texmf/web2c/texmf.cnf: Aucun fichier ou répertoire
de ce type
Running update-lyxrc... done

(no such file or directory sorry for the french messages, i
should have changed the LANG before patching)


I fixed the issue by replacing :
 if [ -e /usr/bin/texconfig ] && fgrep -q TEXMFMAIN 
/usr/lib/texmf/web2c/texmf.cnf; then
by
 if [ -e /usr/bin/texconfig ] && fgrep -q TEXMFMAIN /etc/texmf/texmf.cnf; then
in lyx-common postinst.

tetex-bin is in charge of the migration, so adding a versioned
dependency on tetex-bin should avoid messing if we are in sarge
or other in hte postinst.


Cheers
Alban


Reply via email to