summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ScriptExec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/macosx/ScriptExec')
-rw-r--r--packaging/macosx/ScriptExec/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packaging/macosx/ScriptExec/main.c b/packaging/macosx/ScriptExec/main.c
index 0e4efd4e8..37b3a4ff3 100644
--- a/packaging/macosx/ScriptExec/main.c
+++ b/packaging/macosx/ScriptExec/main.c
@@ -241,8 +241,9 @@ static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall,
ShowFirstStartWarningDialog();
// Note that we've seen the warning.
- system("test -d \"$HOME/.inkscape-etc\" || mkdir -p \"$HOME/.inkscape-etc\"; "
- "touch \"$HOME/.inkscape-etc/.fccache-new\"");
+ // 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.
OSErr err = ExecuteScript(scriptPath, &pid);
ExitToShell();