1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-04-19 18:48:07 +00:00

CrowdSec: Update install URL and script refresh (#3604)

* Update install URL and script refresh

* Fine, have it your way
This commit is contained in:
Slaviša Arežina 2025-04-02 19:23:58 +02:00 committed by GitHub
parent b8ad603a75
commit 629b9df30a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,7 +31,7 @@ function error_exit() {
local msg="${1:-$reason}" local msg="${1:-$reason}"
local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE" local flag="${RD}‼ ERROR ${CL}$EXIT@$LINE"
echo -e "$flag $msg" 1>&2 echo -e "$flag $msg" 1>&2
exit $EXIT exit "$EXIT"
} }
if command -v pveversion >/dev/null 2>&1; then if command -v pveversion >/dev/null 2>&1; then
echo -e "⚠️ Can't Install on Proxmox " echo -e "⚠️ Can't Install on Proxmox "
@ -46,7 +46,7 @@ while true; do
esac esac
done done
clear clear
function header_info { function header_info() {
echo -e "${BL} echo -e "${BL}
_____ _ _____ _____ _ _____
/ ____| | |/ ____| / ____| | |/ ____|
@ -73,7 +73,7 @@ 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 curl &>/dev/null
apt-get install -y gnupg &>/dev/null apt-get install -y gnupg &>/dev/null
curl -fsSL https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | bash &>/dev/null curl -fsSL "https://install.crowdsec.net" | bash &>/dev/null
msg_ok "Setup ${APP} Repository" msg_ok "Setup ${APP} Repository"
msg_info "Installing ${APP}" msg_info "Installing ${APP}"