From a8cddde41e8682fb32832826c8ec5dbdf3c7871f Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 6 Feb 2016 19:52:33 +1000 Subject: Put the ~/.SledHamr/ creation code into all three main binaries. sigh --- src/extantz/extantz.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'src/extantz') diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index 7a21aee..ed78b24 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c @@ -15,19 +15,6 @@ globals ourGlobals; //static char *myKey = "12345678-1234-4321-abcd-0123456789ab"; //static char *myName = "onefang rejected"; -static const char *dirs[] = -{ - ".cache", - ".cache/compiled", - ".cache/converted", - ".cache/sha1", - ".cache/types", - ".cache/unpacked", - ".download", - "inventory", - NULL -}; - #if USE_LOVE static Eina_Bool _add(void *data, int type, Ecore_Con_Event_Server_Add *ev) @@ -602,8 +589,8 @@ EAPI_MAIN int elm_main(int argc, char **argv) // Eina_Bool gotWebKit = elm_need_web(); // Initialise ewebkit if it exists, or return EINA_FALSE if it don't. logDom = HamrTime(argv[0], elm_main, logDom); - // Create our home directories, if not already created. + // This should be in HamrTime, bit I had a HardTime getting LumbrJack to link to ecore-file. sprintf(temp, "%s/.SledjHamr", eina_environment_home_get()); ecore_file_mksubdirs(temp, dirs); -- cgit v1.1