From 2a40c5565c3e73acb214604bb7000df439565f95 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 28 Sep 2016 21:56:22 +0100 Subject: [PATCH] full and other variants --- src/freedombone-utils-selector | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/freedombone-utils-selector b/src/freedombone-utils-selector index b2aaaa13..5d211ce3 100755 --- a/src/freedombone-utils-selector +++ b/src/freedombone-utils-selector @@ -117,9 +117,9 @@ function choose_apps_for_variant { if grep -q "VARIANTS=" ${filename}; then variants_list="$(cat ${filename} | grep "VARIANTS=" | awk -F '=' '{print $2}' | awk -F "'" '{print $2}')" - if [[ "${variants_list}" == 'all' || \ - "${variants_list}" == 'any' || \ - "${variants_list}" == 'full' || \ + if [[ "${variants_list}" == 'all'* || \ + "${variants_list}" == 'any'* || \ + "${variants_list}" == 'full'* || \ "${variants_list}" == "$variant_name "* || \ "${variants_list}" == *" $variant_name "* || \ "${variants_list}" == *" $variant_name" ]]; then