From 3d2b280c8f44fe8b5fe52fdd0622f4e044ca98da Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sat, 28 Mar 2020 13:05:27 +0000 Subject: firmware: robustify and simplify archive area checking --- scripts/build/installer_debian-installer | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/build/installer_debian-installer') diff --git a/scripts/build/installer_debian-installer b/scripts/build/installer_debian-installer index 1488ace79..81beebeae 100755 --- a/scripts/build/installer_debian-installer +++ b/scripts/build/installer_debian-installer @@ -326,8 +326,7 @@ then FIRMWARE_PACKAGES="" # Manually add firmware-linux/non-free meta package - if [ "${LB_DERIVATIVE}" = "false" ] && echo ${LB_PARENT_ARCHIVE_AREAS} | grep -qs "non-free" - then + if [ "${LB_DERIVATIVE}" = "false" ] && In_list "non-free" ${LB_PARENT_ARCHIVE_AREAS}; then FIRMWARE_PACKAGES="${FIRMWARE_PACKAGES} firmware-linux" fi -- cgit v1.2.3