default = all pack
This commit is contained in:
parent
e48cbd4109
commit
fa2659f999
7
make.sh
7
make.sh
@ -28,7 +28,7 @@ pack_name[vm]="Driver Virtualisation"
|
|||||||
|
|
||||||
pack_forced=(live cli disk net firmware)
|
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
|
nb_hooks=0
|
||||||
@ -109,8 +109,9 @@ _choose()
|
|||||||
size=$((${#pack_list[@]}-(${#pack_forced[@]})))
|
size=$((${#pack_list[@]}-(${#pack_forced[@]})))
|
||||||
for pack in ${pack_list[@]}; do
|
for pack in ${pack_list[@]}; do
|
||||||
[[ "${pack_forced[*]}" =~ "$pack" ]] && continue
|
[[ "${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)
|
pack_checklist+=($pack "${pack_name[$pack]}" $status)
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user