From 29ba24336c12d09025595ce2e7fe4a5c14d8a98e Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 17 Jan 2016 00:07:00 -0400 Subject: [PATCH] Remove sudo, this script is meant to run as root. --- contrib/scripts/install/production.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/scripts/install/production.sh b/contrib/scripts/install/production.sh index 405e43ecb0..66abf7d01b 100644 --- a/contrib/scripts/install/production.sh +++ b/contrib/scripts/install/production.sh @@ -7,7 +7,7 @@ DB_USERNAME=mayan DB_PASSWORD=test123 # ==== END CONFIG ==== -cat << EOF | sudo tee -a /etc/motd.tail +cat << EOF | tee -a /etc/motd.tail ********************************** Mayan EDMS Vagrant Production Box @@ -16,8 +16,8 @@ Mayan EDMS Vagrant Production Box EOF echo -e "\n -> Running apt-get update & upgrade \n" -sudo apt-get -qq update -sudo apt-get -y upgrade +apt-get -qq update +apt-get -y upgrade echo -e "\n -> Installing core binaries \n" apt-get install nginx supervisor redis-server postgresql libpq-dev libjpeg-dev libmagic1 libpng-dev libreoffice libtiff-dev gcc ghostscript gpgv python-dev python-virtualenv tesseract-ocr unpaper poppler-utils -y