summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-07-30 20:38:14 -0400
committerMike Gilbert <floppym@gentoo.org>2016-07-30 20:46:02 -0400
commitba61a756c4ad1b0b1c21ae2d8729b19214cfefb7 (patch)
tree358ef06a71aa87611a1f124a6f68a6e8ea392f33 /sys-apps/systemd
parentnet-misc/socket-burst-dampener: shorten DESCRIPTION (diff)
downloadgentoo-ba61a756c4ad1b0b1c21ae2d8729b19214cfefb7.tar.gz
gentoo-ba61a756c4ad1b0b1c21ae2d8729b19214cfefb7.tar.bz2
gentoo-ba61a756c4ad1b0b1c21ae2d8729b19214cfefb7.zip
sys-apps/systemd: fix resolv.conf message
Thanks to novns in #gentoo-systemd.
Diffstat (limited to 'sys-apps/systemd')
-rw-r--r--sys-apps/systemd/systemd-231.ebuild2
-rw-r--r--sys-apps/systemd/systemd-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys-apps/systemd/systemd-231.ebuild b/sys-apps/systemd/systemd-231.ebuild
index 3516936eac32..b4f261317768 100644
--- a/sys-apps/systemd/systemd-231.ebuild
+++ b/sys-apps/systemd/systemd-231.ebuild
@@ -434,7 +434,7 @@ pkg_postinst() {
if [[ $(readlink "${ROOT}"etc/resolv.conf) == */run/systemd/* ]]; then
ewarn "You should replace the resolv.conf symlink:"
- ewarn "ln -snf ${ROOTPREFIX}/lib/systemd ${ROOT}etc/resolv.conf"
+ ewarn "ln -snf ${ROOTPREFIX-/usr}/lib/systemd/resolv.conf ${ROOT}etc/resolv.conf"
fi
}
diff --git a/sys-apps/systemd/systemd-9999.ebuild b/sys-apps/systemd/systemd-9999.ebuild
index 3516936eac32..b4f261317768 100644
--- a/sys-apps/systemd/systemd-9999.ebuild
+++ b/sys-apps/systemd/systemd-9999.ebuild
@@ -434,7 +434,7 @@ pkg_postinst() {
if [[ $(readlink "${ROOT}"etc/resolv.conf) == */run/systemd/* ]]; then
ewarn "You should replace the resolv.conf symlink:"
- ewarn "ln -snf ${ROOTPREFIX}/lib/systemd ${ROOT}etc/resolv.conf"
+ ewarn "ln -snf ${ROOTPREFIX-/usr}/lib/systemd/resolv.conf ${ROOT}etc/resolv.conf"
fi
}