commit:     018fd85f5142b3250774812f651b8d2147f022e8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  3 16:54:37 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan  3 20:39:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=018fd85f

net-dns/resolvconf-symlink: Use relative symlink path

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-dns/resolvconf-symlink/resolvconf-symlink-0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/resolvconf-symlink/resolvconf-symlink-0.ebuild 
b/net-dns/resolvconf-symlink/resolvconf-symlink-0.ebuild
index dbf2b430fba..782762cc845 100644
--- a/net-dns/resolvconf-symlink/resolvconf-symlink-0.ebuild
+++ b/net-dns/resolvconf-symlink/resolvconf-symlink-0.ebuild
@@ -38,7 +38,7 @@ pkg_preinst() {
 src_install() {
        # XXX: /run should be more correct, when it's supported by baselayout
 
-       use symlink && dosym /var/run/resolv.conf /etc/resolv.conf
+       use symlink && dosym ../var/run/resolv.conf /etc/resolv.conf
 }
 
 pkg_postrm() {

Reply via email to