sci-biology/foldingathome: switch EPREFIX usages in pkg_* back to EROOT
authorIan Stakenvicius <axs@gentoo.org>
Fri, 21 Apr 2017 15:27:12 +0000 (11:27 -0400)
committerIan Stakenvicius <axs@gentoo.org>
Fri, 21 Apr 2017 15:32:02 +0000 (11:32 -0400)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild

index 9afa2539eee62edbbfa735e74d0168ffc9a5ceef..bed9135f0d25075f4ac88b4b79d668be1e8f2270 100644 (file)
@@ -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
 }