We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9e9c012 + da4a1e6 commit 1bd32ecCopy full SHA for 1bd32ec
1 file changed
bin/scripts/mongodb.install.sh
@@ -354,8 +354,8 @@ gpgkey=https://pgp.mongodb.com/server-8.0.asc" > /etc/yum.repos.d/mongodb-org-8.
354
UBUNTU_YEAR="$(lsb_release -sr | cut -d '.' -f 1)";
355
UBUNTU_RELEASE="$(lsb_release -cs)"
356
357
- if [[ "$UBUNTU_YEAR" != "20" && "$UBUNTU_YEAR" != "22" ]]; then
358
- echo "Unsupported OS version, only support Ubuntu 20 and 22."
+ if [[ "$UBUNTU_YEAR" != "20" && "$UBUNTU_YEAR" != "22" && "$UBUNTU_YEAR" != "24" ]]; then
+ echo "Unsupported OS version, only support Ubuntu 20, 22 and 24"
359
exit 1
360
fi
361
@@ -380,4 +380,4 @@ elif [ "$1" == "configure" ]; then
380
else
381
mongodb_configure
382
383
-fi
+fi
0 commit comments