Skip to content

Commit

Permalink
Fix dependency extension setup
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 16, 2024
1 parent 89248e8 commit d4de7bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/scripts/linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,10 @@ setup_dependencies() {
extension_packages="$extension_packages ${dependency_extension_packages_array[*]}"
extension_packages="${extension_packages//php$version-common/}"
for dependency_extension in "${dependency_extension_packages_array[@]}"; do
mkdir -p "$ext_config_directory/${extension_package#*-}"
add_config "${extension_package#*-}" "$dependency_extension"
if [ "${dependency_extension#*-}" != 'common' ]; then
mkdir -p "$ext_config_directory/${extension_package#*-}"
add_config "${extension_package#*-}" "${dependency_extension#*-}"
fi
done
done
if [[ -n "${libraries// /}" ]]; then
Expand Down

0 comments on commit d4de7bd

Please sign in to comment.