Commit c84526b3 authored by Zeeshan Ali's avatar Zeeshan Ali

data,config: Don't set permissions on config dir

This reverts commits

934f3522:
"data: Allow ownership setup of config dir to fail"

4dacd32b:
"config: Give D-Bus user ownership of /etc/geoclue"
parent d69be659
......@@ -2,7 +2,6 @@ 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 \
......@@ -13,11 +12,6 @@ $(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) || \
echo "Failed to give ownership of $(DESTDIR)$(systemconfdir) to $(dbus_srv_user). Geoclue will not be able to save user configurations."
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