commit:     43822e4545d7ffbf42051290e2838fb40d2a0684
Author:     genoob <genoob <AT> yandex <DOT> com>
AuthorDate: Mon Feb 20 02:22:37 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 02:23:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43822e45

net-libs/phodav: fix install with USE="spice -systemd"

Bug: https://bugs.gentoo.org/609390
Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-libs/phodav/phodav-2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/phodav/phodav-2.1.ebuild 
b/net-libs/phodav/phodav-2.1.ebuild
index 0b47d8fa6d..ba39d0274c 100644
--- a/net-libs/phodav/phodav-2.1.ebuild
+++ b/net-libs/phodav/phodav-2.1.ebuild
@@ -48,7 +48,7 @@ src_install() {
                if ! use systemd ; then
                        newinitd "${FILESDIR}/spice-webdavd.initd" spice-webdavd
                        udev_dorules "${FILESDIR}/70-spice-webdavd.rules"
-                       rm -r "${D}$(systemd_get_unitdir)" || die
+                       rm -r "${D}$(systemd_get_systemunitdir)" || die
                fi
        else
                rm -r 
"${D}"{/usr/sbin,$(get_udevdir),$(systemd_get_systemunitdir)} || die

Reply via email to