From: Mike Brady Date: Mon, 18 Mar 2019 19:37:09 +0000 (+0000) Subject: Create the dbus/system.d directory if it doesn't already exist. X-Git-Tag: 3.3RC2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc0ff56ab7e6b821de229eefbf659e2ff02a8b54;p=thirdparty%2Fshairport-sync.git Create the dbus/system.d directory if it doesn't already exist. --- 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