commit:     2414f606cea22b3dbea89846e550100561f3ce16
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 15:27:12 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 15:32:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2414f606

sci-biology/foldingathome: switch EPREFIX usages in pkg_* back to EROOT

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild 
b/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
index 9afa2539eee..bed9135f0d2 100644
--- a/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
@@ -62,11 +62,11 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-       chown -R foldingathome:nogroup "${EPREFIX}"/${I}
+       chown -R foldingathome:nogroup "${EROOT}"${I}
        einfo "To run Folding@home in the background at boot (with openrc):"
        einfo "\trc-update add foldingathome default"
        einfo ""
-       if [ ! -e "${EPREFIX}"/${I}/config.xml ]; then
+       if [ ! -e "${EROOT}"${I}/config.xml ]; then
                elog "No configuration found -- please run ${I}/initfolding or"
                elog "emerge --config ${P} to configure your client and edit"
                elog "${EPREFIX}/etc/conf.d/foldingathome for options"
@@ -83,5 +83,5 @@ pkg_postrm() {
 }
 
 pkg_config() {
-       "${EPREFIX}"/${I}/initfolding
+       "${EROOT}"${I}/initfolding
 }

Reply via email to