From 59150e639a3ba451790ed17c62817bba62dfd4fc Mon Sep 17 00:00:00 2001 From: joglomedia Date: Sat, 17 Aug 2019 16:34:27 +0700 Subject: [PATCH] minor fix --- scripts/install_mongodb.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install_mongodb.sh b/scripts/install_mongodb.sh index cb05b5d..a34ed65 100755 --- a/scripts/install_mongodb.sh +++ b/scripts/install_mongodb.sh @@ -56,10 +56,8 @@ function init_mongodb_install() { echo "Installing MongoDB server and MongoDB PHP module..." if hash dpkg 2>/dev/null; then - { - run apt-get update - run apt-get -y install mongodb-org mongodb-org-server - } + run apt-get update + run apt-get -y install mongodb-org mongodb-org-server elif hash yum 2>/dev/null; then if [ "${VERSION_ID}" == "5" ]; then yum -y update