From b0641984cc0670a084bc5945e28100b154f57178 Mon Sep 17 00:00:00 2001 From: su_v Date: Thu, 21 Aug 2014 12:26:09 +0200 Subject: launcher scripts: move fc-cache alert to script, define xdg setup in single location and source it from script and openDoc (bzr r13506.1.36) --- packaging/macosx/ScriptExec/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packaging/macosx/ScriptExec') diff --git a/packaging/macosx/ScriptExec/main.c b/packaging/macosx/ScriptExec/main.c index 37b3a4ff3..e3f066d70 100644 --- a/packaging/macosx/ScriptExec/main.c +++ b/packaging/macosx/ScriptExec/main.c @@ -227,6 +227,7 @@ static void ShowFirstStartWarningDialog(void) ////////////////////////////////// // Handler for when fontconfig caches need to be generated +// TODO: remove (alert and touch moved to launcher script) ////////////////////////////////// static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall, EventRef theEvent, void *userData) @@ -241,7 +242,6 @@ static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall, ShowFirstStartWarningDialog(); // Note that we've seen the warning. - // TODO: somehow make this aware of $XDG_CACHE_HOME as set in the launcher system("test -d \"$HOME/.cache/inkscape\" || mkdir -p \"$HOME/.cache/inkscape\"; " "touch \"$HOME/.cache/inkscape/.fccache-new\""); // Rerun now. -- cgit v1.2.3