php-pear-r2.eclass: Fix inverted test and bad variable reference
authorBrian Evans <grknight@gentoo.org>
Sat, 27 May 2017 23:32:34 +0000 (19:32 -0400)
committerBrian Evans <grknight@gentoo.org>
Sat, 27 May 2017 23:32:34 +0000 (19:32 -0400)
commit5bd41632a6596ad6a8974eee4caa38b9dc2b7dc5
treee20aeabd6937b799ae3156d81c9d3a2a5127ae18
parent272842fb98b9935656bb978f03daca321a307a13
php-pear-r2.eclass:  Fix inverted test and bad variable reference

The channel test inadvertantly tested for success rather than failure
Now the command is always run and the return value is checked.
A reference to PEAR_PN was left over when it should be PEAR_P
eclass/php-pear-r2.eclass