gnupg is required by crowdsec/script.deb.sh

This commit is contained in:
Jonathan Dumont 2022-06-03 05:48:51 +07:00 committed by GitHub
parent 3c986d36b0
commit 9d27a09f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,11 +60,12 @@ function msg_ok() {
} }
msg_info "Setting up ${APP} Repository" 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 curl -s https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | sudo bash &>/dev/null
msg_ok "Setup ${APP} Repository" msg_ok "Setup ${APP} Repository"
msg_info "Installing ${APP}" msg_info "Installing ${APP}"
apt-get update &>/dev/null
apt-get install -y crowdsec &>/dev/null apt-get install -y crowdsec &>/dev/null
msg_ok "Installed ${APP}" msg_ok "Installed ${APP}"