app-portage/eix: Fix chown for cache dir, FL-3379
authorMichał Górny <mgorny@gentoo.org>
Tue, 15 Nov 2016 15:01:33 +0000 (16:01 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 15 Nov 2016 16:22:23 +0000 (17:22 +0100)
Bug: https://bugs.funtoo.org/browse/FL-3379

app-portage/eix/eix-0.32.1-r1.ebuild

index 4665d7be271403fde030b5caf6c4752601dcb95a..e7a8a35b2ac1eb57285cb86fa19c72ee8a3aa3ad 100644 (file)
@@ -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