Skip to content

Commit a2c8c19

Browse files
committed
Skip mongo install if already present
1 parent 262b07c commit a2c8c19

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
@@ -26,6 +26,7 @@ install_xhprof() {
2626
install_mongo() {
2727
local ext="mongo" version="${1:-stable}"
2828

29+
has_extension "$ext" && return 0
2930
echo no | pecl install "$ext-$version"
3031
}
3132

0 commit comments

Comments
 (0)