From 0a0f9c31f7230623e468b04c61ff669ef2a54619 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 24 Mar 2006 15:30:40 +0000 Subject: [PATCH] * MacOSX/LyX.app/Contents/MacOS/lyxeditor: update location of preferences file within LyX.app bundle * MacOSX/LyX.app/Contents/Resources/preferences: update path_prefix to include /opt/local/bin, and remove references to "-1.4" version suffix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13481 a592a061-630c-0410-9148-cb99ea01b6c8 --- development/MacOSX/LyX.app/Contents/MacOS/lyxeditor | 2 +- development/MacOSX/LyX.app/Contents/Resources/preferences | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/development/MacOSX/LyX.app/Contents/MacOS/lyxeditor b/development/MacOSX/LyX.app/Contents/MacOS/lyxeditor index e5f31da0bf..749b6bde8f 100755 --- a/development/MacOSX/LyX.app/Contents/MacOS/lyxeditor +++ b/development/MacOSX/LyX.app/Contents/MacOS/lyxeditor @@ -5,7 +5,7 @@ lyxpipe=/Users/$USER/Library/Application\ Support/LyX/.lyxpipe if [ ! -p $lyxpipe.out ] then - lyxprefs=`expr "$0" : '\(.*\)MacOS/lyxeditor'`Resources/lyx/preferences + lyxprefs=`expr "$0" : '\(.*\)MacOS/lyxeditor'`lyx/preferences lyxpipe=`perl -n -e 'print,exit if s/^.serverpipe\\s+\"(.+)\"/$1/;' ~/Library/Application\ Support/LyX/preferences $lyxprefs` fi [ -p $lyxpipe.in ] || exit 0 diff --git a/development/MacOSX/LyX.app/Contents/Resources/preferences b/development/MacOSX/LyX.app/Contents/Resources/preferences index d3de003364..34c5a8342f 100644 --- a/development/MacOSX/LyX.app/Contents/Resources/preferences +++ b/development/MacOSX/LyX.app/Contents/Resources/preferences @@ -16,8 +16,8 @@ # MISC SECTION ###################################### # -\path_prefix "/usr/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/X11R6/bin:/sw/bin:/opt/local/teTeX/bin" -\serverpipe "~/Library/Application Support/LyX-1.4/.lyxpipe" +\path_prefix "/usr/bin:/usr/local/bin:/usr/local/teTeX/bin/powerpc-apple-darwin-current:/usr/X11R6/bin:/sw/bin:/opt/local/teTeX/bin:/opt/local/bin" +\serverpipe "~/Library/Application Support/LyX/.lyxpipe" \preview on # @@ -52,7 +52,7 @@ # FILE SECTION ###################################### # -\template_path "~/Library/Application Support/LyX-1.4/templates" +\template_path "~/Library/Application Support/LyX/templates" # # ASCII EXPORT SECTION ##############################