From 17018d392de83d698b43a6bf6f911f09e5aa4b09 Mon Sep 17 00:00:00 2001 From: Frederik Kriewitz Date: Thu, 27 Jan 2022 12:25:27 +0100 Subject: [PATCH] chore: update deployment scripts to install sudo (#3841) * Update setup_20.04.sh to install sudo * Update setup_18.04.sh to install sudo --- deployment/setup_18.04.sh | 2 +- deployment/setup_20.04.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/setup_18.04.sh b/deployment/setup_18.04.sh index 37d63e2c1..9e9e3cf12 100644 --- a/deployment/setup_18.04.sh +++ b/deployment/setup_18.04.sh @@ -17,7 +17,7 @@ apt install -y \ libssl-dev libyaml-dev libreadline-dev gnupg2 nginx redis-server \ redis-tools postgresql postgresql-contrib certbot \ python-certbot-nginx nodejs yarn patch ruby-dev zlib1g-dev liblzma-dev \ - libgmp-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev + libgmp-dev libncurses5-dev libffi-dev libgdbm5 libgdbm-dev sudo adduser --disabled-login --gecos "" chatwoot diff --git a/deployment/setup_20.04.sh b/deployment/setup_20.04.sh index 6f0e195da..ca8b0a06a 100644 --- a/deployment/setup_20.04.sh +++ b/deployment/setup_20.04.sh @@ -39,7 +39,7 @@ apt install -y \ libssl-dev libyaml-dev libreadline-dev gnupg2 \ postgresql-client redis-tools \ nodejs yarn patch ruby-dev zlib1g-dev liblzma-dev \ - libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev + libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev sudo if [ $install_pg_redis != "no" ] then