Rename --apt-remove option to --cleanup
parent
c3d49327b8
commit
83f74c6969
|
@ -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.
|
||||
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
|
||||
|
|
|
@ -94,7 +94,7 @@ getModulesToInstall () {
|
|||
if test -z "${getModulesToInstall_endArgs}"
|
||||
then
|
||||
case "${1}" in
|
||||
--apt-remove)
|
||||
--cleanup)
|
||||
getModulesToInstall_skip='y'
|
||||
DO_APT_REMOVE='y'
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue