Add 8.0 for MongoDB Installation (#1046)

* Add 8.0 for MongoDB Installation

* Add MongoDB Check
This commit is contained in:
CanbiZ
2024-12-27 20:29:01 +01:00
committed by GitHub
parent 517b19a62b
commit 395d1086ea
2 changed files with 15 additions and 6 deletions

View File

@ -28,7 +28,7 @@ function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -f /etc/apt/sources.list.d/mongodb-org-7.0.list ]]; then
if [[ ! -f /etc/apt/sources.list.d/mongodb-org-7.0.list && ! -f /etc/apt/sources.list.d/mongodb-org-8.0.list ]]; then
msg_error "No ${APP} Installation Found!"
exit
fi
@ -44,4 +44,4 @@ build_container
description
msg_ok "Completed Successfully!\n"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"