Handle case when no databases are selected (#1259)

At least two users were asking for support in Discord due to not selecting DBs to install. This aims to prevent confusion in that scenario.
This commit is contained in:
Rick
2025-08-31 03:11:23 -05:00
committed by GitHub
parent 9293e2ed17
commit 792f7827a6

View File

@@ -13,4 +13,7 @@ if [[ -n "$choices" ]]; then
MongoDB) sudo docker run -d --restart unless-stopped -p "127.0.0.1:27017:27017" --name mongodb -e MONGO_INITDB_ROOT_USERNAME=admin -e MONGO_INITDB_ROOT_PASSWORD=admin123 mongo:noble ;;
esac
done
else
echo "No databases selected for installation."
sleep 1
fi