dialog title spaces

merge-requests/273/head
Bernhard Landauer 7 years ago
parent 696312bd2b
commit 026213cf1b

@ -67,7 +67,7 @@ install_base() {
check_for_error "selected: $(cat ${PACKAGES})"
# Choose wanted kernel modules
DIALOG "$_ChsAddPkgs" --checklist "\n\n$_UseSpaceBar" 0 0 12 \
DIALOG " $_ChsAddPkgs " --checklist "\n\n$_UseSpaceBar" 0 0 12 \
"KERNEL-headers" "-" off \
"KERNEL-acpi_call" "-" on \
"KERNEL-ndiswrapper" "-" on \

@ -81,7 +81,7 @@ install_manjaro_de_wm() {
if grep -q ">extra" /tmp/.edition;then
# User to select base|extra profile
DIALOG "$_ExtraTitle" --no-cancel --menu "\n$_ExtraBody" 0 0 2 \
DIALOG " $_ExtraTitle " --no-cancel --menu "\n$_ExtraBody" 0 0 2 \
"1" "full" \
"2" "minimal" 2>/tmp/.version

@ -605,7 +605,7 @@ lvm_create() {
# Loop while the Volume Group name starts with a "/", is blank, has spaces, or is already being used
while [[ ${LVM_VG:0:1} == "/" ]] || [[ ${#LVM_VG} -eq 0 ]] || [[ $LVM_VG =~ \ |\' ]] || [[ $(lsblk | grep ${LVM_VG}) != "" ]]; do
DIALOG "$_ErrTitle" --msgbox "$_LvmNameVgErr" 0 0
DIALOG " $_ErrTitle " --msgbox "$_LvmNameVgErr" 0 0
DIALOG " $_LvmCreateVG " --inputbox "$_LvmNameVgBody" 0 0 "" 2>${ANSWER} || return 0
LVM_VG=$(cat ${ANSWER})
done

Loading…
Cancel
Save