MongoDB only support Ubuntu LTS
This commit is contained in:
@@ -8,7 +8,7 @@ if [[ -r /etc/os-release ]]; then
|
|||||||
. /etc/os-release
|
. /etc/os-release
|
||||||
if [[ $ID = ubuntu ]]; then
|
if [[ $ID = ubuntu ]]; then
|
||||||
if [[ $VERSION_CODENAME = impish ]]; then
|
if [[ $VERSION_CODENAME = impish ]]; then
|
||||||
VERSION_CODENAME=focal # MongoDB does not provide packages for Ubuntu 21.10
|
VERSION_CODENAME=focal # MongoDB does not provide packages for Ubuntu 22.04 LTS yet
|
||||||
fi
|
fi
|
||||||
REPO="https://repo.mongodb.org/apt/ubuntu $VERSION_CODENAME/mongodb-org/5.0 multiverse"
|
REPO="https://repo.mongodb.org/apt/ubuntu $VERSION_CODENAME/mongodb-org/5.0 multiverse"
|
||||||
elif [[ $ID = debian ]]; then
|
elif [[ $ID = debian ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user