wizard: install matched collections only (#1212)

This commit is contained in:
he2ss 2022-01-28 09:08:25 +01:00 committed by GitHub
parent 840939d489
commit 5f2d7f6a65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -219,7 +219,7 @@ in_array() {
shift
array=("$@")
for element in "${array[@]}"; do
if [[ ${str} == *${element}* ]]; then
if [[ ${str} == crowdsecurity/${element} ]]; then
return 0
fi
done