update
This commit is contained in:
1 file changed
+3
-3
@@ -94,13 +94,13 @@ Architectures: $OS_ARCH
|
|||||||
curl -fsSL "https://packagecloud.io/crowdsec/crowdsec/gpgkey" | \
|
curl -fsSL "https://packagecloud.io/crowdsec/crowdsec/gpgkey" | \
|
||||||
gpg --dearmor | tee /etc/apt/trusted.gpg.d/crowdsec-archive-keyring.gpg > /dev/null
|
gpg --dearmor | tee /etc/apt/trusted.gpg.d/crowdsec-archive-keyring.gpg > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
apt update
|
|
||||||
apt install -y nala ca-certificates curl gnupg lsb-release git zsh
|
|
||||||
}
|
}
|
||||||
|
|
||||||
config(){
|
config(){
|
||||||
|
apt update
|
||||||
|
apt list nala ca-certificates curl gnupg gpg lsb-release git zsh | awk -F'/' '/\// {print $1}' | xargs -r apt install --no-install-recommends -y
|
||||||
set_pkg_source
|
set_pkg_source
|
||||||
|
apt update
|
||||||
if $1; then
|
if $1; then
|
||||||
$AWD/configure.sh
|
$AWD/configure.sh
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in new issue
Block a user