Skip to content

Commit 8c34c30

Browse files
committed
Skip xhprof install if present
1 parent e310789 commit 8c34c30

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

install-extensions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ has_extension() {
1919
install_xhprof() {
2020
local version="${1:-stable}"
2121

22+
has_extension "xhprof" && return 0
2223
pecl install xhprof-$version
2324
}
2425

0 commit comments

Comments
 (0)