Commit b60fcae6 authored by Martyn Russell's avatar Martyn Russell

tracker-miner-fs: Add initial check on basedir to avoid subsequent checks

parent c3652c2d
......@@ -146,6 +146,16 @@ miner_userguides_basedir_add (TrackerMinerFS *fs,
gchar *path;
gboolean added = FALSE;
/* Do preliminary check on basedir */
path = g_build_filename (basedir, "userguide", "contents", NULL);
if (!g_file_test (path, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR)) {
g_message (" No userguides in prefix:'%s'", path);
g_free (path);
g_free (path);
/* Without MeeGoTouch, we simply index ALL content. */
gchar *locale;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment