This commit is contained in:
darkclip committed 2024-02-17 09:25:59 +08:00
1 parent 4720a23ca4
commit 81987c69a8
2 files changed
+6

No files matched your search

+3
View File
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
set -e
OS_ARCH=$(dpkg --print-architecture) || (echo "Not Debian Based Distro" && exit 1)
OS_CODE=$(source /etc/os-release && echo "$VERSION_CODENAME")
main(){
echo "deb https://packagecloud.io/crowdsec/crowdsec/debian/ $OS_CODE main" | \
tee /etc/apt/sources.list.d/crowdsec_crowdsec.list