dev-php/PEAR-PEAR: Remove dead channel from pkg_postinst
authorBrian Evans <grknight@gentoo.org>
Mon, 20 Feb 2017 20:53:33 +0000 (15:53 -0500)
committerBrian Evans <grknight@gentoo.org>
Mon, 20 Feb 2017 20:53:33 +0000 (15:53 -0500)
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

index 5df3f9d16a63d0061bdccee1bb72f0595992c792..78c112e6a34427212fbb1384eb7a50c91b70c2ed 100644 (file)
@@ -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
 }