From 16fc268aa72b9b00931318e54c77e8c32fd8fe5b Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Sun, 8 May 2016 22:01:19 -0700 Subject: [PATCH 1/2] updated rethinkdb.sh script --- scripts/rethinkdb.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/rethinkdb.sh b/scripts/rethinkdb.sh index 23c8311e..53482621 100644 --- a/scripts/rethinkdb.sh +++ b/scripts/rethinkdb.sh @@ -2,12 +2,14 @@ echo ">>> Installing RethinkDB" -# Add PPA to server -sudo add-apt-repository -y ppa:rethinkdb/ppa +# update source list +source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list + +# add key +wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add - # Update sudo apt-get update # Install -# -qq implies -y --force-yes -sudo apt-get install -qq rethinkdb +sudo apt-get install rethinkdb From 8090ac9f11ce04376e27c1f9ed0215e58b9a61b8 Mon Sep 17 00:00:00 2001 From: Ryan Brown Date: Sun, 8 May 2016 22:14:41 -0700 Subject: [PATCH 2/2] Forgot to add -qq to the install --- scripts/rethinkdb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/rethinkdb.sh b/scripts/rethinkdb.sh index 53482621..2791a301 100644 --- a/scripts/rethinkdb.sh +++ b/scripts/rethinkdb.sh @@ -12,4 +12,4 @@ wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add - sudo apt-get update # Install -sudo apt-get install rethinkdb +sudo apt-get install -qq rethinkdb