From e4cbf9cbdcc9285db3d0fd5954b565b6c7d8c4e4 Mon Sep 17 00:00:00 2001 From: shadowplay1 Date: Fri, 10 Nov 2023 11:27:55 +0300 Subject: [PATCH] fix(mongodb-install): running apt-get install command as root --- scripts/mongodb-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mongodb-install.sh b/scripts/mongodb-install.sh index 51a79e4..27c9383 100644 --- a/scripts/mongodb-install.sh +++ b/scripts/mongodb-install.sh @@ -1,6 +1,6 @@ #!/bin/bash -apt-get install -y gnupg curl +sudo apt-get install -y gnupg curl curl -fsSL https://pgp.mongodb.com/server-7.0.asc | \ sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg \