diff --git a/tools/setup.sh b/tools/setup.sh index c90ddbc..c4809ef 100644 --- a/tools/setup.sh +++ b/tools/setup.sh @@ -25,7 +25,7 @@ else exit 1 fi -wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add - +wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo tee /etc/apt/trusted.gpg.d/mongodb-server-5.0.asc echo "deb [ arch=amd64,arm64 ] $REPO" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list sudo apt update