net-misc/minidlna: Fix installing empty directories
authorMichał Górny <mgorny@gentoo.org>
Sun, 25 Nov 2018 20:01:25 +0000 (21:01 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sun, 25 Nov 2018 21:42:54 +0000 (22:42 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-misc/minidlna/minidlna-1.2.1-r1.ebuild

index 104948c00d6cdfd76f2354ba2ea2a61d97d2a7f7..70feaa8392b65f60f361552641365e25a7a1752a 100644 (file)
@@ -85,7 +85,7 @@ src_install() {
        echo "d /run/${PN} 0755 ${PN} ${PN} -" > "${T}"/${PN}.conf
        systemd_dotmpfilesd "${T}"/${PN}.conf
 
-       dodir /var/{lib,log}/${PN}
+       keepdir /var/{lib,log}/${PN}
        fowners ${PN}:${PN} /var/{lib,log}/${PN}
        fperms 0750 /var/{lib,log}/${PN}