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

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

Package-Manager: portage-2.2.26_p27
This commit is contained in:
Mike Gilbert
2015-12-13 11:47:30 -05:00
parent a66d35cabf
commit 3c2977ec99
+1 -1
View 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