Rename --apt-remove option to --cleanup

pull/5/head
Michele Locati 2018-06-28 10:01:51 +02:00
parent c3d49327b8
commit 83f74c6969
No known key found for this signature in database
GPG Key ID: 98B7CE2E7234E28B
2 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && \
``` ```
`install-php-extensions` will install all the required APT packages. `install-php-extensions` will install all the required APT packages.
If you want to remove the APT development packages (which shouldn't be needed after the PHP extensions have been installed), you can use the `--apt-remove` option: If you want to remove the APT development packages (which shouldn't be needed after the PHP extensions have been installed), you can use the `--cleanup` option (**EXPERIMENTAL**):
``` ```
install-php-extensions --apt-remove gd xdebug install-php-extensions --cleanup gd xdebug
``` ```
## Supported PHP extensions ## Supported PHP extensions

View File

@ -94,7 +94,7 @@ getModulesToInstall () {
if test -z "${getModulesToInstall_endArgs}" if test -z "${getModulesToInstall_endArgs}"
then then
case "${1}" in case "${1}" in
--apt-remove) --cleanup)
getModulesToInstall_skip='y' getModulesToInstall_skip='y'
DO_APT_REMOVE='y' DO_APT_REMOVE='y'
;; ;;