diff --git a/Makefile.am b/Makefile.am index 353d54b5..48ef77aa 100644 --- a/Makefile.am +++ b/Makefile.am @@ -131,7 +131,10 @@ if INSTALL_CONFIG_FILES cp scripts/shairport-sync.conf $(DESTDIR)$(sysconfdir)/shairport-sync.conf.sample [ -f $(DESTDIR)$(sysconfdir)/shairport-sync.conf ] || cp scripts/shairport-sync.conf $(DESTDIR)$(sysconfdir)/shairport-sync.conf if USE_DBUS - cp shairport-sync-dbus-policy.conf $(DESTDIR)$(sysconfdir)/dbus-1/system.d/shairport-sync.conf + cp scripts/shairport-sync-dbus-policy.conf $(DESTDIR)$(sysconfdir)/dbus-1/system.d/shairport-sync-dbus.conf +endif +if USE_MPRIS + cp scripts/shairport-sync-mpris-policy.conf $(DESTDIR)$(sysconfdir)/dbus-1/system.d/shairport-sync-mpris.conf endif endif if INSTALL_SYSTEMV diff --git a/shairport-sync-dbus-policy.conf b/scripts/shairport-sync-dbus-policy.conf similarity index 77% rename from shairport-sync-dbus-policy.conf rename to scripts/shairport-sync-dbus-policy.conf index 01e09521..497dd885 100644 --- a/shairport-sync-dbus-policy.conf +++ b/scripts/shairport-sync-dbus-policy.conf @@ -7,15 +7,12 @@ - - - diff --git a/scripts/shairport-sync-mpris-policy.conf b/scripts/shairport-sync-mpris-policy.conf new file mode 100644 index 00000000..1efb0072 --- /dev/null +++ b/scripts/shairport-sync-mpris-policy.conf @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + +