commit:     64f783dff3a2d62de670c8a5994d012751d2440e
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 20 14:40:00 2016 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Jan 20 14:40:00 2016 +0000
URL:        https://gitweb.gentoo.org/proj/eselect-php.git/commit/?id=64f783df

Fix cleanup up libphp[57].so symlinks.

The cleanup() action is supposed to remove the old links to libphp5.so
and libphp7.so, but the pattern was accidentally quoted and thus
nothing was removed. Unquote it so that those symlinks will actually
be removed.

Gentoo-Bug: 572436

 src/php.eselect.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/php.eselect.in b/src/php.eselect.in
index 9970520..b2a0dd5 100644
--- a/src/php.eselect.in
+++ b/src/php.eselect.in
@@ -199,7 +199,7 @@ cleanup_sapi() {
        fi
 
        if [[ "${sapi}" == "apache2" ]] ; then
-               rm -f 
"${EROOT}$(get_active_libdir)/apache2/modules/libphp[57].so" \
+               rm -f 
"${EROOT}$(get_active_libdir)"/apache2/modules/libphp[57].so \
                   || die "failed to remove old libphp.so symlink"
        fi
 

Reply via email to