Commit 67b59fc4 authored by Sam Thursfield's avatar Sam Thursfield

utils/sandbox: Don't set environment variables

These aren't needed any more and actually prevent the Tracker store from
finding its ontologies. As long as the binaries aren't relocated after
they installed, Tracker should be able to find all its data files
without any help.
parent da0f79f8
Pipeline #83413 passed with stage
in 2 minutes and 3 seconds
......@@ -360,12 +360,6 @@ def environment_set():
environment_set_and_add_path('LD_LIBRARY_PATH', opts.prefix, 'lib')
environment_set_and_add_path('XDG_DATA_DIRS', opts.prefix, 'share')
os.environ['TRACKER_DB_ONTOLOGIES_DIR'] = os.path.join(
opts.prefix, 'share', 'tracker', 'ontologies')
os.environ['TRACKER_EXTRACTOR_RULES_DIR'] = os.path.join(
opts.prefix, 'share', 'tracker', 'extract-rules')
os.environ['TRACKER_LANGUAGE_STOPWORDS_DIR'] = os.path.join(
opts.prefix, 'share', 'tracker', 'stop-words')
# Preferences
os.environ['TRACKER_USE_CONFIG_FILES'] = 'yes'
......
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