diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2020-02-29 17:10:29 -0500 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2020-02-29 17:10:29 -0500 |
commit | 9f957137544df01e20e5ae49f5bf8d7ee6a352f5 (patch) | |
tree | ff9acfb98998cb87da2e5bcf93fe9d8d4f3047c7 | |
parent | src/php.eselect.in.in: create symlinks relatively. (diff) | |
download | eselect-php-9f957137544df01e20e5ae49f5bf8d7ee6a352f5.tar.gz eselect-php-9f957137544df01e20e5ae49f5bf8d7ee6a352f5.tar.bz2 eselect-php-9f957137544df01e20e5ae49f5bf8d7ee6a352f5.zip |
src/php.eselect.in.in: add support for the "phar" executable.
PHP supports installing a "phar" executable that can archive/extract
the phar file format without the user having to learn the API and
write a little script. This commit allows "eselect php ... cli" to
manage a symlink to the "phar" command, so that when dev-lang/php
starts installing them, we can switch between the various versions.
Bug: https://bugs.gentoo.org/707876
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
-rw-r--r-- | src/php.eselect.in.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php.eselect.in.in b/src/php.eselect.in.in index f78bf3d..2a7e5a8 100644 --- a/src/php.eselect.in.in +++ b/src/php.eselect.in.in @@ -25,7 +25,7 @@ sapi_active_link_names() { case "${sapi}" in apache2) echo "mod_php.so" ;; - cli) echo "php phpize php-config" ;; + cli) echo "php phpize php-config phar" ;; fpm) echo "php-fpm" ;; cgi) echo "php-cgi" ;; phpdbg) echo "phpdbg" ;; |