add titles

This commit is contained in:
Tobias Powalowski 2023-08-27 21:39:56 +02:00
parent ed3f919797
commit 93a71ae860

View file

@ -270,7 +270,7 @@ _autoprepare() {
#shellcheck disable=SC2086
_dialog --title " Filesystem / and /home " --no-cancel --menu "" 14 45 8 ${_FSOPTS} 2>"${_ANSWER}" || return 1
_FSTYPE=$(cat "${_ANSWER}")
_dialog --yesno "${_FSTYPE} will be used for\n/ and /home. Is this OK?" 0 0 && _CHOSENFS=1
_dialog --title " Filesystem / and /home " --yesno "${_FSTYPE} will be used for\n/ and /home?" 3 55 && _CHOSENFS=1
done
_DISK_SIZE="$((_DISK_SIZE-_SWAPDEV_SIZE))"
_ROOT_SIZE="7500"
@ -284,7 +284,7 @@ _autoprepare() {
_dialog --title " / in MiB " --inputbox "Disk space left: $((_DISK_SIZE-350))M | Minimum value is 2000\nValue 0 skips /home and uses the left ${_DISK_SIZE}M for /" 9 60 "${_ROOT_SIZE}" 2>"${_ANSWER}" || return 1
_ROOTDEV_SIZE=$(cat "${_ANSWER}")
if [[ "${_ROOTDEV_SIZE}" == 0 ]]; then
if _dialog --title " / partition " --yesno "${_DISK_SIZE}M will be used for your / partition. Is this OK?" 0 0; then
if _dialog --title " / partition " --yesno "${_DISK_SIZE}M will be used for your / partition?" 3 55; then
_ROOTDEV_SET=1
_SKIP_HOME=1
fi