From cc0ff56ab7e6b821de229eefbf659e2ff02a8b54 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 18 Mar 2019 19:37:09 +0000 Subject: [PATCH] Create the dbus/system.d directory if it doesn't already exist. --- Makefile.am | 2 ++ dacp.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index e17bf39a..9d489ad8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -163,6 +163,7 @@ 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 + [ -e $(DESTDIR)$(sysconfdir)/dbus-1/system.d ] || mkdir -p $(DESTDIR)$(sysconfdir)/dbus-1/system.d if INSTALL_CYGWIN_SERVICE cp scripts/shairport-sync-dbus-policy-cygwin.conf $(DESTDIR)$(sysconfdir)/dbus-1/system.d/shairport-sync-dbus.conf else @@ -170,6 +171,7 @@ else endif endif if USE_MPRIS + [ -e $(DESTDIR)$(sysconfdir)/dbus-1/system.d ] || mkdir -p $(DESTDIR)$(sysconfdir)/dbus-1/system.d if INSTALL_CYGWIN_SERVICE cp scripts/shairport-sync-mpris-policy-cygwin.conf $(DESTDIR)$(sysconfdir)/dbus-1/system.d/shairport-sync-dbus.conf else diff --git a/dacp.c b/dacp.c index f5797554..b1d5bbda 100644 --- a/dacp.c +++ b/dacp.c @@ -1,6 +1,6 @@ /* * DACP protocol handler. This file is part of Shairport Sync. - * Copyright (c) Mike Brady 2017 + * Copyright (c) Mike Brady 2017 -- 2019 * All rights reserved. * * Permission is hereby granted, free of charge, to any person