Merge pull request #256 from JOduMonT/patch-1

gnupg is required by crowdsec/script.deb.sh
This commit is contained in:
tteckster 2022-06-02 20:02:12 -04:00 committed by GitHub
commit a8ecc6526b
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"
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}"