openssh: prevent duplicate subpackage

Because template is evaluated twice with options, using append
results in the subpackages string containing the same subpackage
twice.
This commit is contained in:
q66 2020-03-03 04:44:23 +01:00
parent aba55395ae
commit 8dfa43a716
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ build_options_default="fido2 ldns ssl"
desc_option_fido2="Enable support for FIDO2 USB tokens"
if [ "$build_option_fido2" ]; then
subpackages+=" openssh-sk-helper"
subpackages="openssh-sk-helper"
fi
CFLAGS="-Wno-format-truncation -Wno-stringop-truncation"