2018-03-05 01:10:37 +00:00
|
|
|
--- a/src/libtracker-miners-common/tracker-domain-ontology.c
|
|
|
|
+++ b/src/libtracker-miners-common/tracker-domain-ontology.c
|
2018-09-01 21:53:32 +01:00
|
|
|
@@ -323,7 +323,7 @@
|
2018-03-21 06:45:31 +00:00
|
|
|
goto end;
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
- path = g_build_filename (SHAREDIR, "tracker", "domain-ontologies",
|
|
|
|
+ path = g_build_filename ("@tracker@", "share", "tracker", "domain-ontologies",
|
|
|
|
DEFAULT_RULE, NULL);
|
|
|
|
|
|
|
|
if (!g_file_test (path, G_FILE_TEST_IS_REGULAR)) {
|
2018-09-01 21:53:32 +01:00
|
|
|
@@ -388,7 +388,7 @@
|
2018-03-05 01:10:37 +00:00
|
|
|
if (!priv->ontology_location) {
|
|
|
|
gchar *ontology_path;
|
|
|
|
|
|
|
|
- ontology_path = g_build_filename (SHAREDIR, "tracker", "ontologies",
|
|
|
|
+ ontology_path = g_build_filename ("@tracker@", "share", "tracker", "ontologies",
|
|
|
|
priv->ontology_name, NULL);
|
|
|
|
|
|
|
|
if (!g_file_test (ontology_path, G_FILE_TEST_IS_DIR)) {
|