mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add titles
This commit is contained in:
parent
ed3f919797
commit
93a71ae860
1 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ _autoprepare() {
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
_dialog --title " Filesystem / and /home " --no-cancel --menu "" 14 45 8 ${_FSOPTS} 2>"${_ANSWER}" || return 1
|
_dialog --title " Filesystem / and /home " --no-cancel --menu "" 14 45 8 ${_FSOPTS} 2>"${_ANSWER}" || return 1
|
||||||
_FSTYPE=$(cat "${_ANSWER}")
|
_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
|
done
|
||||||
_DISK_SIZE="$((_DISK_SIZE-_SWAPDEV_SIZE))"
|
_DISK_SIZE="$((_DISK_SIZE-_SWAPDEV_SIZE))"
|
||||||
_ROOT_SIZE="7500"
|
_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
|
_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}")
|
_ROOTDEV_SIZE=$(cat "${_ANSWER}")
|
||||||
if [[ "${_ROOTDEV_SIZE}" == 0 ]]; then
|
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
|
_ROOTDEV_SET=1
|
||||||
_SKIP_HOME=1
|
_SKIP_HOME=1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue