commit:     44e53b4e17f2ec011d7131f9a748fcfb533e4999
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 15:01:33 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 16:22:23 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e53b4e

app-portage/eix: Fix chown for cache dir, FL-3379

Bug: https://bugs.funtoo.org/browse/FL-3379

 app-portage/eix/eix-0.32.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-portage/eix/eix-0.32.1-r1.ebuild 
b/app-portage/eix/eix-0.32.1-r1.ebuild
index 4665d7b..e7a8a35 100644
--- a/app-portage/eix/eix-0.32.1-r1.ebuild
+++ b/app-portage/eix/eix-0.32.1-r1.ebuild
@@ -83,7 +83,7 @@ pkg_postinst() {
        if ! use prefix; then
                # note: if this is done in src_install(), portage:portage
                # ownership may be reset to root
-               fowners portage:portage "${EROOT%/}"/var/cache/eix
+               chown portage:portage "${EROOT%/}"/var/cache/eix || die
        fi
 
        local obs=${EROOT%/}/var/cache/eix.previous

Reply via email to