change size

This commit is contained in:
Tobias Powalowski 2023-07-15 15:17:41 +02:00
parent 518b4152ba
commit ff287a20c4

View file

@ -123,7 +123,7 @@ _create_filesystem() {
if [[ -n "${_DOMKFS}" ]]; then if [[ -n "${_DOMKFS}" ]]; then
[[ "${_FSTYPE}" == "swap" || "${_FSTYPE}" == "vfat" ]] || _select_filesystem || return 1 [[ "${_FSTYPE}" == "swap" || "${_FSTYPE}" == "vfat" ]] || _select_filesystem || return 1
while [[ -z "${_LABEL_NAME}" ]]; do while [[ -z "${_LABEL_NAME}" ]]; do
_dialog --no-cancel --title " ${_DEV} LABEL Name " --inputbox "Keep it short and use no spaces or special characters." 8 65 \ _dialog --no-cancel --title " LABEL Name on ${_DEV} " --inputbox "Keep it short and use no spaces or special characters." 8 60 \
"$(${_LSBLK} LABEL "${_DEV}" 2>"${_NO_LOG}")" 2>"${_ANSWER}" || return 1 "$(${_LSBLK} LABEL "${_DEV}" 2>"${_NO_LOG}")" 2>"${_ANSWER}" || return 1
_LABEL_NAME=$(cat "${_ANSWER}") _LABEL_NAME=$(cat "${_ANSWER}")
if grep ":${_LABEL_NAME}$" /tmp/.parts; then if grep ":${_LABEL_NAME}$" /tmp/.parts; then