Update crowdsec.sh

add curl install
This commit is contained in:
tteckster 2022-10-07 15:26:16 -04:00 committed by GitHub
parent ed758e9d8d
commit 606d825c57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ function msg_ok() {
msg_info "Setting up ${APP} Repository" msg_info "Setting up ${APP} Repository"
apt-get update &>/dev/null apt-get update &>/dev/null
apt-get install -y curl &>/dev/null
apt-get install -y gnupg &>/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"