Commit 01f1b4f8 authored by Sam Thursfield's avatar Sam Thursfield

meson: Fix bad string comparisons in script

This script creates symlinks from $prefix/share/tracker/miners to the
real D-Bus .service files, which usually live in /usr/share/dbus-1.

The script was comparing strings incorrectly, leading to misbehaviour.

See #38
parent e7a31ab8
Pipeline #41468 passed with stage
in 1 minute and 57 seconds
......@@ -13,9 +13,9 @@ have_tracker_miner_rss="$4"
mkdir -p ${DESTDIR}/${tracker_miner_services_dir}
ln -sf "${dbus_services_dir}/org.freedesktop.Tracker1.Miner.Extract.service" "${DESTDIR}/${tracker_miner_services_dir}/"
if [[ "$have_tracker_miner_fs" -eq "true" ]]; then
if [[ "$have_tracker_miner_fs" == "true" ]]; then
ln -sf "${dbus_services_dir}/org.freedesktop.Tracker1.Miner.Files.service" "${DESTDIR}/${tracker_miner_services_dir}/"
if [[ "$have_tracker_miner_rss" -eq "true" ]]; then
if [[ "$have_tracker_miner_rss" == "true" ]]; then
ln -sf "${dbus_services_dir}/org.freedesktop.Tracker1.Miner.RSS.service" "${DESTDIR}/${tracker_miner_services_dir}/"
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