Commit 4dacd32b authored by Zeeshan Ali's avatar Zeeshan Ali

config: Give D-Bus user ownership of /etc/geoclue

This is so that geoclue can dynamically add/remove files in that dir.
parent 1dc88d58
......@@ -2,6 +2,7 @@ systemconfdir = $(sysconfdir)/geoclue
systemconf_in_files = geoclue.conf.in
systemconf_DATA = $(systemconf_in_files:.conf.in=.conf)
if BUILD_DEMO_AGENT
$(systemconf_DATA): $(systemconf_in_files) Makefile
@sed -e \
......@@ -12,6 +13,10 @@ $(systemconf_DATA): $(systemconf_in_files) Makefile
@sed -e "s|\@demo_agent\@||" $< > $@
endif
install-data-hook:
$(AM_V_GEN)chown $(dbus_srv_user).$(dbus_srv_user) \
$(DESTDIR)$(systemconfdir)
servicedir = $(datadir)/dbus-1/system-services
service_in_files = org.freedesktop.GeoClue2.service.in
service_DATA = $(service_in_files:.service.in=.service)
......
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