소스 검색

Merge pull request #256 from JOduMonT/patch-1

gnupg is required by crowdsec/script.deb.sh
tteckster 3 년 전
부모
커밋
a8ecc6526b
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      misc/crowdsec-v3.sh

+ 2 - 1
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}"