commit:     3c2977ec991958d3fbae585e96f7eba14fa91c20
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 13 16:44:54 2015 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Dec 13 16:47:30 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c2977ec

sys-apps/systemd: Fix install when resolved is disabled

Bug: https://bugs.gentoo.org/568170

Package-Manager: portage-2.2.26_p27

 sys-apps/systemd/systemd-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/systemd/systemd-9999.ebuild 
b/sys-apps/systemd/systemd-9999.ebuild
index 440c35f..7fa9af7 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -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

Reply via email to