mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
wizard: install matched collections only (#1212)
This commit is contained in:
parent
840939d489
commit
5f2d7f6a65
1 changed files with 1 additions and 1 deletions
|
@ -219,7 +219,7 @@ in_array() {
|
||||||
shift
|
shift
|
||||||
array=("$@")
|
array=("$@")
|
||||||
for element in "${array[@]}"; do
|
for element in "${array[@]}"; do
|
||||||
if [[ ${str} == *${element}* ]]; then
|
if [[ ${str} == crowdsecurity/${element} ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue