From f5a1befe321aa27ec70fbd72cb2ac954404baa83 Mon Sep 17 00:00:00 2001 From: Norberto Date: Wed, 12 Aug 2015 16:01:52 +0200 Subject: [PATCH] Aligning with MongoDB official documentation: The current `equip_mongodb.sh` script is using a deprecate naming convention and repo url. I've just added a change to reflect the change and to be aligned with the official MongoDB documentation - http://docs.mongodb.org/manual/tutorial/install-mongodb-on-ubuntu/ --- equip_mongodb.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/equip_mongodb.sh b/equip_mongodb.sh index 317e49d..5faf6b2 100755 --- a/equip_mongodb.sh +++ b/equip_mongodb.sh @@ -10,9 +10,8 @@ sudo apt-get install tcsh git-core scons g++ -y sudo apt-get install libpcre++-dev libboost-dev libreadline-dev xulrunner-1.9.1-dev -y sudo apt-get install libboost-program-options-dev libboost-thread-dev libboost-filesystem-dev libboost-date-time-dev -y - -sudo sh -c 'echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" > /etc/apt/sources.list.d/mongo-stable.list' +sudo sh -c 'echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list' sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 sudo apt-get update -y -sudo apt-get install mongodb-10gen -y \ No newline at end of file +sudo apt-get install -y mongodb-org