default = all pack

This commit is contained in:
Lionel 2024-01-22 22:34:53 +01:00
parent e48cbd4109
commit fa2659f999

View File

@ -28,7 +28,7 @@ pack_name[vm]="Driver Virtualisation"
pack_forced=(live cli disk net firmware)
pack_default=(dm-common gui xfce4 cinnamon libreoffice)
#pack_default=(dm-common gui xfce4 cinnamon libreoffice)
nb_hooks=0
@ -109,8 +109,9 @@ _choose()
size=$((${#pack_list[@]}-(${#pack_forced[@]})))
for pack in ${pack_list[@]}; do
[[ "${pack_forced[*]}" =~ "$pack" ]] && continue
[[ "${pack_default[*]}" =~ "$pack" ]] && status="ON" || status="OFF"
#[[ "${pack_default[*]}" =~ "$pack" ]] && status="ON" || status="OFF"
status="ON"
pack_checklist+=($pack "${pack_name[$pack]}" $status)
done