diff --git a/README.md b/README.md index 6499d23..be7ba3c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/install-php-extensions b/install-php-extensions index 768c630..e0d19c3 100755 --- a/install-php-extensions +++ b/install-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' ;;