net-libs/phodav: fix install with USE="spice -systemd"
authorgenoob <genoob@yandex.com>
Mon, 20 Feb 2017 02:22:37 +0000 (04:22 +0200)
committerMart Raudsepp <leio@gentoo.org>
Mon, 20 Feb 2017 02:23:03 +0000 (04:23 +0200)
Bug: https://bugs.gentoo.org/609390
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-libs/phodav/phodav-2.1.ebuild

index 0b47d8fa6d2071667e3482c18a41e8df790f50b3..ba39d0274c82ddd8450ef87dd912695a09864102 100644 (file)
@@ -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