Skip to content

Commit

Permalink
Fix to disable PHP modules without trailing *.so ext
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Nov 13, 2020
1 parent 6ecd75d commit cdb09fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
## Unreleased


## Release 0.116

#### Fixed
- [#749](https://github.com/cytopia/devilbox/issues/749) Fix to disable PHP modules without trailing `*.so` extension


## Release 0.115

#### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ disable_modules() {
mod="$( echo "${mod}" | xargs )" # trim

# Find all config files that enable that module
files="$( grep -Er "^(zend_)?extension.*(=|/)${mod}\.so" "${cfg_path}" || true )"
files="$( grep -Er "^(zend_)?extension.*(=|/)${mod}(\\.so)?\$" "${cfg_path}" || true )"

if [ -n "${files}" ]; then
while read -r f; do
Expand Down

0 comments on commit cdb09fc

Please sign in to comment.