summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ScriptExec
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-08-21 10:26:09 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-08-21 10:26:09 +0000
commitb0641984cc0670a084bc5945e28100b154f57178 (patch)
tree79959735bb78c71bc9afc1f2f25b07272bf0e4c5 /packaging/macosx/ScriptExec
parentbuild scripts: refactor tests based on OS X version (diff)
downloadinkscape-b0641984cc0670a084bc5945e28100b154f57178.tar.gz
inkscape-b0641984cc0670a084bc5945e28100b154f57178.zip
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)
Diffstat (limited to 'packaging/macosx/ScriptExec')
-rw-r--r--packaging/macosx/ScriptExec/main.c2
1 files changed, 1 insertions, 1 deletions
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.