From 9d27a09f0350cb2197bccf08f7eb2a5ef91cb59c Mon Sep 17 00:00:00 2001 From: Jonathan Dumont <5204724+JOduMonT@users.noreply.github.com> Date: Fri, 3 Jun 2022 05:48:51 +0700 Subject: [PATCH] gnupg is required by crowdsec/script.deb.sh --- misc/crowdsec-v3.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/crowdsec-v3.sh b/misc/crowdsec-v3.sh index 8c4b83e2..77460345 100644 --- a/misc/crowdsec-v3.sh +++ b/misc/crowdsec-v3.sh @@ -60,11 +60,12 @@ function msg_ok() { } msg_info "Setting up ${APP} Repository" +apt-get update &>/dev/null +apt-get install -y gnupg &>/dev/null curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash &>/dev/null msg_ok "Setup ${APP} Repository" msg_info "Installing ${APP}" -apt-get update &>/dev/null apt-get install -y crowdsec &>/dev/null msg_ok "Installed ${APP}"