net-misc/connman: add keepdir call
authorNicholas Vinson <nvinson234@gmail.com>
Sun, 16 Oct 2016 15:46:46 +0000 (08:46 -0700)
committerDavid Seifert <soap@gentoo.org>
Sun, 16 Oct 2016 17:23:59 +0000 (19:23 +0200)
Add a keepdir for /usr/lib/connman/scripts.  If none of connman's
scripts are installed, upstream's build system will create and install
an empty directory.

Gentoo-bug: 596874

Package-Manager: portage-2.3.2
Closes: https://github.com/gentoo/gentoo/pull/2568

Signed-off-by: David Seifert <soap@gentoo.org>
net-misc/connman/connman-1.33-r1.ebuild

index 6e1388919460db3d500771fde691763e78ad1d9e..33687f74cb8bbc49be6fb59082a9a66d2bc175ec 100644 (file)
@@ -76,6 +76,7 @@ src_install() {
        if use doc; then
                dodoc doc/*.txt
        fi
+       keepdir /usr/lib/${PN}/scripts
        keepdir /var/lib/${PN}
        newinitd "${FILESDIR}"/${PN}.initd2 ${PN}
        newconfd "${FILESDIR}"/${PN}.confd ${PN}