From: mjwybrow Date: Wed, 23 Sep 2009 21:02:27 +0000 (+0000) Subject: - Put the fontconfig test flag for the Mac package in the ~/.inkscape-etc/ X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=02a7277631a70908202fe2bedeab6a3eb01e40ee;p=inkscape.git - Put the fontconfig test flag for the Mac package in the ~/.inkscape-etc/ directory, along with all the other Mac specific config files. --- diff --git a/packaging/macosx/Resources/script b/packaging/macosx/Resources/script index dd98e5f34..62dcafdf5 100755 --- a/packaging/macosx/Resources/script +++ b/packaging/macosx/Resources/script @@ -40,7 +40,7 @@ if [[ $VERSION -le 4 ]]; then fi # Warn the user about time-consuming generation of fontconfig caches. -test -f "${HOME}/.config/Inkscape/.fccache-new" || exit 12 +test -f "${HOME}/.inkscape-etc/.fccache-new" || exit 12 diff --git a/packaging/macosx/ScriptExec/main.c b/packaging/macosx/ScriptExec/main.c index c798e3bf9..f413d438a 100644 --- a/packaging/macosx/ScriptExec/main.c +++ b/packaging/macosx/ScriptExec/main.c @@ -243,8 +243,8 @@ static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall, ShowFirstStartWarningDialog(); // Note that we've seen the warning. - system("test -d \"$HOME/.config/Inkscape\" || mkdir -p \"$HOME/.config/Inkscape\"; " - "touch \"$HOME/.config/Inkscape/.fccache-new\""); + system("test -d \"$HOME/.inkscape-etc\" || mkdir -p \"$HOME/.inkscape-etc\"; " + "touch \"$HOME/.inkscape-etc/.fccache-new\""); // Rerun now. OSErr err = ExecuteScript(scriptPath, &pid); ExitToShell();