[Pkg-mpd-commits] [SCM] Git repository for pkg-mpd branch, master, updated. debian/0.17.1-1-22-g38ab336

Florian Schlichting fschlich at zedat.fu-berlin.de
Fri Feb 22 00:22:29 UTC 2013


The following commit has been merged in the master branch:
commit 1ad5f41a0a0e7c5e2e97d404a26d3c09ff44c391
Author: Florian Schlichting <fschlich at zedat.fu-berlin.de>
Date:   Thu Feb 21 23:55:08 2013 +0100

    have systemd create /run/mpd as well (thanks intrigeri; closes: #694497)

diff --git a/debian/mpd.dirs b/debian/mpd.dirs
index 0a9bb84..45f4fd4 100644
--- a/debian/mpd.dirs
+++ b/debian/mpd.dirs
@@ -1,3 +1,4 @@
+usr/lib/tmpfiles.d
 var/log/mpd
 var/lib/mpd
 var/lib/mpd/playlists
diff --git a/debian/mpd.tmpfiles b/debian/mpd.tmpfiles
new file mode 100644
index 0000000..571fd47
--- /dev/null
+++ b/debian/mpd.tmpfiles
@@ -0,0 +1 @@
+d /run/mpd 0755 mpd audio -
diff --git a/debian/rules b/debian/rules
index 0b99762..ed05695 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,3 +38,7 @@ override_dh_strip:
 
 override_dh_installinit:
 	dh_installinit -n
+
+override_dh_install:
+	dh_install
+	cp $(CURDIR)/debian/mpd.tmpfiles $(CURDIR)/debian/mpd/usr/lib/tmpfiles.d/mpd.conf

-- 
Git repository for pkg-mpd



More information about the Pkg-mpd-commits mailing list