On 09 Jul 2007, at 00:14, Kevin Horton wrote: > > On 8 Jul 2007, at 17:55, Martin Costabel wrote: >> I didn't follow the whole discussion, so I don't know if you noticed >> that /sw/share/texmf-local is supposed to be a *symlink* to >> /sw/etc/texmf.local. The current version of cadabra destroys this and >> replaces it by a real directory. This is a severe bug. >> >> Look at jadetex for an example; it does this: >> >> mkdir -p %i/etc >> mv %i/share/texmf-local %i/etc/texmf.local > > Ouch. Thanks for noticing this Martin. I did not realize that /sw/ > share/texmf-local was supposed to be a symlink. I can change the > cadabra package so that it no longer clobbers the symlink. But, I > wonder what I can put in the package that will actually check for the > damage and repair it. Didn't follow the discussion either.. ., but here the damage seems much less: dpkg -L shows indeed that cadabra installed /sw/share/texmf-local/tex/latex/cadabra/tableaux.sty but the symlink is still in place , and # readlink -f /sw/share/texmf-local/tex/latex/cadabra/tableaux.sty /sw/etc/texmf.local/tex/latex/cadabra/tableaux.sty
This is the behaviour I expected from dpkg. (It is in the reverse direction that there is a problem: dpkg refuses to overwrite dirs with symlinks; so if there are really machines were the symlink was destroyed by cadabra, you would need careful PreInstScripts in the next rev to repair the damage) Jean-Francois ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
