commit:     8f1cb590dc220cd2ae8ac093d1110e9aaf5dfb9f
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 20 20:53:33 2017 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Feb 20 20:53:33 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f1cb590

dev-php/PEAR-PEAR: Remove dead channel from pkg_postinst

Expand the error message to include which channel it bails on as well

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild 
b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
index 5df3f9d16a..78c112e6a3 100644
--- a/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
+++ b/dev-php/PEAR-PEAR/PEAR-PEAR-1.10.1-r1.ebuild
@@ -140,12 +140,12 @@ pkg_postinst() {
        # Update PEAR/PECL channels as needed, add new ones to the list if 
needed
        elog "Updating PEAR/PECL channels"
        local pearchans="pear.php.net pecl.php.net pear.phing.info "
-       pearchans+="pear.symfony-project.com pear.agavi.org"
+       pearchans+="pear.symfony-project.com"
 
        for chan in ${pearchans} ; do
                # The first command may fail if, for example, the channels have
                # already been initialized.
                pear channel-discover ${chan}
-               pear channel-update ${chan} || die "failed to update channels"
+               pear channel-update ${chan} || die "failed to update channels: 
${chan}"
        done
 }

Reply via email to