sys-apps/systemd: Fix install when resolved is disabled
authorMike Gilbert <floppym@gentoo.org>
Sun, 13 Dec 2015 16:44:54 +0000 (11:44 -0500)
committerMike Gilbert <floppym@gentoo.org>
Sun, 13 Dec 2015 16:47:30 +0000 (11:47 -0500)
Bug: https://bugs.gentoo.org/568170

Package-Manager: portage-2.2.26_p27

sys-apps/systemd/systemd-9999.ebuild

index 440c35f86df052f4f67c7543843a675af6a0f220..7fa9af77d18de8429ec4c627981c1dec2b4695b2 100644 (file)
@@ -329,7 +329,7 @@ multilib_src_install_all() {
        # If we install these symlinks, there is no way for the sysadmin to remove them
        # permanently.
        rm "${D}"/etc/systemd/system/multi-user.target.wants/systemd-networkd.service || die
-       rm "${D}"/etc/systemd/system/multi-user.target.wants/systemd-resolved.service || die
+       rm -f "${D}"/etc/systemd/system/multi-user.target.wants/systemd-resolved.service || die
        rm -r "${D}"/etc/systemd/system/network-online.target.wants || die
        rm -r "${D}"/etc/systemd/system/sockets.target.wants || die
        rm -r "${D}"/etc/systemd/system/sysinit.target.wants || die