Code

- Update to use new Inkscape config directory: ~/.config/Inkscape
authormjwybrow <mjwybrow@users.sourceforge.net>
Wed, 23 Sep 2009 19:01:59 +0000 (19:01 +0000)
committermjwybrow <mjwybrow@users.sourceforge.net>
Wed, 23 Sep 2009 19:01:59 +0000 (19:01 +0000)
packaging/macosx/ScriptExec/main.c

index 69f5b108c1a6c3814bd52fcd8b371e123ac2f22e..c798e3bf92e0d93b4ade1fb69d95f69dd111e5af 100644 (file)
@@ -243,8 +243,8 @@ static OSStatus FCCacheFailedHandler(EventHandlerCallRef theHandlerCall,
     ShowFirstStartWarningDialog();
 
     // Note that we've seen the warning.
-    system("test -d \"$HOME/.inkscape\" || mkdir \"$HOME/.inkscape\"; "
-           "touch \"$HOME/.inkscape/.fccache-new\"");
+    system("test -d \"$HOME/.config/Inkscape\" || mkdir -p \"$HOME/.config/Inkscape\"; "
+           "touch \"$HOME/.config/Inkscape/.fccache-new\"");
     // Rerun now.
     OSErr err = ExecuteScript(scriptPath, &pid);
     ExitToShell();