Skip to content

Commit 031c315

Browse files
committed
Adjusting Noble
1 parent a0613d0 commit 031c315

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

bin/compile-extension-mongodb

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ source $(dirname $0)/compile-extensions-common
66
travis_time_start
77

88
dist=$(lsb_release -cs)
9-
if [[ "${dist}" = "focal" || "${dist}" = "jammy" || "${dist}" = "noble"]]; then
10-
if [[ $VERSION =~ ^master$ || $VERSION =~ snapshot$ ]]; then
11-
git clone https://github.com/mongodb/mongo-php-driver.git
12-
pushd mongo-php-driver
13-
git submodule update --init
14-
phpize
15-
./configure
16-
make all
17-
make install
18-
popd
19-
else
20-
pecl channel-update pecl.php.net
21-
no | pecl_install mongodb
22-
fi
9+
if [[ "${dist}" = "focal" || "${dist}" = "jammy" || "${dist}" = "noble" ]]; then
10+
if [[ $VERSION =~ ^master$ || $VERSION =~ snapshot$ ]]; then
11+
git clone https://github.com/mongodb/mongo-php-driver.git
12+
pushd mongo-php-driver
13+
git submodule update --init
14+
phpize
15+
./configure
16+
make all
17+
make install
18+
popd
19+
else
20+
pecl channel-update pecl.php.net
21+
no | pecl install mongodb
22+
fi
2323
else
24-
echo "MongoDB missing for PHP older than 7.4, tip set php at least 7.4 after installing php-dev"
24+
echo "MongoDB missing for PHP older than 7.4, tip set php at least 7.4 after installing php-dev"
2525
fi
2626

2727
travis_time_finish

0 commit comments

Comments
 (0)