small fix

This commit is contained in:
teldra 2021-03-12 22:47:34 +01:00
parent eab89fe8b3
commit 227daeb5ab
2 changed files with 5 additions and 2 deletions

View File

@ -80,7 +80,7 @@ fi
target_partition="${target_partition_tmp}"
if [[ ! "${fde_key_store}" == "none" ]]; then
if [[ ! "${cfg[fde_key_store]}" == "none" ]]; then
echo -n "${cfg[diskpw]}" | cryptsetup luksFormat --type luks1 "${target_partition}" -d -
echo -n "${cfg[diskpw]}" | cryptsetup luksOpen "${target_partition}" "voidluks-${diskid}" -d -
target_partition="/dev/mapper/voidluks-${diskid}"

View File

@ -2,7 +2,10 @@ module "start" "de" "Desktopenvironment Configure"
setconf "add" "gfx_system" "xorg"
multiplechoice "de" "kde5" "i3wm" "gnome" "none"
multiplechoice "gfx_hardware" "amd" "nvidia" "intel" "none"
if [[ ! "${cfg[de]}" == "none" ]]; then
multiplechoice "gfx_hardware" "amd" "nvidia" "intel" "none"
fi
if [[ "${cfg[de]}" == "gnome" ]]; then
setconf add "dm" "gdm"