summaryrefslogtreecommitdiff
path: root/src/create-miner-symlinks.sh
blob: 7233a028a462a023d2b0b512450364caba349f4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Post-install script for install stuff that Meson doesn't support directly.
#
# We can't pass the necessary variables directly to the script, so we
# substitute them using configure_file(). It's a bit of a Heath Robinson hack.

set -e

dbus_services_dir="$1"
tracker_miner_services_dir="$2"

mkdir -p ${DESTDIR}/${tracker_miner_services_dir}
ln -sf "${dbus_services_dir}/tracker-extract.service" "${DESTDIR}/${tracker_miner_services_dir}/tracker-extract.service"