Bennett Helm <[EMAIL PROTECTED]> writes:

> I think the attached script does the trick. It goes into .../LyX.app/ 
> Contents/MacOS/ and should be named "lyx". For it to work, the lyx  
> executable must be renamed "lyx-app", and LyX.app/Contents/Info.plist  
> needs to have the CFBundleExecutable changed from "lyx" to "lyx-app".
> 
> Assuming this works, I'd need some help integrating it into the build  
> system, since it assumes the LyX executable is named "lyx-app", which  
> currently is not true and ignores program-prefix/suffix settings.

Why does it have to be named "lyx"? You could call it "lyx-upgrade" and keep the
original executable name.

> 
> Any comments on this?
> 

test -d ~Library/texmf/tex/latex/lyx || mkdir -p ~Library/texmf/tex/latex/lyx

This should create all needed directories in one go.

Happy Ney Year to everyone!

/Andreas


Reply via email to