Selecting full installs
This commit is contained in:
parent
e7539c36c9
commit
ed0e6be64e
|
@ -117,7 +117,12 @@ 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}" == "$variant_name "* || "${variants_list}" == *" $variant_name "* || "${variants_list}" == *" $variant_name" ]]; then
|
||||
if [[ "${variants_list}" == 'all' || \
|
||||
"${variants_list}" == 'any' || \
|
||||
"${variants_list}" == 'full' || \
|
||||
"${variants_list}" == "$variant_name "* || \
|
||||
"${variants_list}" == *" $variant_name "* || \
|
||||
"${variants_list}" == *" $variant_name" ]]; then
|
||||
APPS_CHOSEN+=("1")
|
||||
else
|
||||
APPS_CHOSEN+=("0")
|
||||
|
|
Loading…
Reference in New Issue