summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-11-25 22:10:20 +0100
committerMichał Górny <mgorny@gentoo.org>2018-11-25 22:42:56 +0100
commit73e3a022b938e4d6d61ccebcd683de66e0f881b7 (patch)
tree2feede9f8a4b1f14cb4c9c8cc0bca8848f9e1d68 /net-misc/minidlna
parentnet-misc/minidlna: Use relative symlink path (diff)
downloadgentoo-73e3a022b938e4d6d61ccebcd683de66e0f881b7.tar.gz
gentoo-73e3a022b938e4d6d61ccebcd683de66e0f881b7.tar.bz2
gentoo-73e3a022b938e4d6d61ccebcd683de66e0f881b7.zip
net-misc/minidlna: Use stdin form of systemd_newtmpfilesd
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc/minidlna')
-rw-r--r--net-misc/minidlna/minidlna-1.2.1-r1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/net-misc/minidlna/minidlna-1.2.1-r1.ebuild b/net-misc/minidlna/minidlna-1.2.1-r1.ebuild
index 585f423e7c32..585a86c1acc4 100644
--- a/net-misc/minidlna/minidlna-1.2.1-r1.ebuild
+++ b/net-misc/minidlna/minidlna-1.2.1-r1.ebuild
@@ -66,8 +66,9 @@ src_install() {
newconfd "${FILESDIR}"/minidlna-1.0.25.confd minidlna
newinitd "${FILESDIR}"/minidlna-1.1.5.initd minidlna
systemd_newunit "${FILESDIR}"/minidlna-1.1.2.service minidlna.service
- echo "d /run/minidlna 0755 minidlna minidlna -" > "${T}"/minidlna.conf
- systemd_dotmpfilesd "${T}"/minidlna.conf
+ systemd_newtmpfilesd - minidlna.conf <<-EOF
+ d /run/minidlna 0755 minidlna minidlna -
+ EOF
keepdir /var/{lib,log}/minidlna