Reset cache if imagick is in extensions on macOS.

This commit is contained in:
Shivam Mathur
2021-06-30 20:41:22 +05:30
committed by GitHub
parent a91eaeae66
commit b9734e30e3

View File

@@ -207,6 +207,7 @@ elif [ "$os" = "Darwin" ]; then
api_version=$(get_api_version)
dir=$(darwin_extension_dir "$api_version")
sudo mkdir -p "$dir" && fix_ownership "$dir"
[[ "$extensions" == *"imagick"* ]] && date='20210622'
else
os="Windows"
dir='C:\\tools\\php\\ext'