mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
resize boxes
This commit is contained in:
parent
8ab8b7cfb9
commit
087a0baa9e
1 changed files with 3 additions and 3 deletions
|
@ -197,14 +197,14 @@ _prepare_btrfs_subvolume() {
|
|||
_check_btrfs_subvolume(){
|
||||
[[ -n "${_DOMKFS}" && "${_FSTYPE}" == "btrfs" ]] && _DETECT_CREATE_FILESYSTEM=1
|
||||
if [[ -z "$(cat ${_ANSWER})" ]]; then
|
||||
_dialog --msgbox "ERROR: You have defined an empty name!\nPlease enter another name." 6 60
|
||||
_dialog --msgbox "ERROR: You have defined an empty name!\nPlease enter another name." 6 50
|
||||
_BTRFS_SUBVOLUME="NONE"
|
||||
fi
|
||||
if [[ -z "${_DETECT_CREATE_FILESYSTEM}" && -z "${_ASK_MOUNTPOINTS}" ]]; then
|
||||
_mount_btrfs
|
||||
for i in $(btrfs subvolume list "${_BTRFSMP}" | cut -d " " -f 7); do
|
||||
if echo "${i}" | grep -q "${_BTRFS_SUBVOLUME}"; then
|
||||
_dialog --msgbox "ERROR: You have defined 2 identical SUBVOLUME names!\nPlease enter another name." 8 60
|
||||
_dialog --msgbox "ERROR: You have defined 2 identical SUBVOLUME names!\nPlease enter another name." 6 60
|
||||
_BTRFS_SUBVOLUME="NONE"
|
||||
fi
|
||||
done
|
||||
|
@ -213,7 +213,7 @@ _check_btrfs_subvolume(){
|
|||
# existing subvolumes
|
||||
_subvolumes_in_use
|
||||
if echo "${_SUBVOLUME_IN_USE}" | grep -Eq "${_BTRFS_SUBVOLUME}"; then
|
||||
_dialog --msgbox "ERROR: You have defined 2 identical SUBVOLUME names!\nPlease enter another name." 8 60
|
||||
_dialog --msgbox "ERROR: You have defined 2 identical SUBVOLUME names!\nPlease enter another name." 6 60
|
||||
_BTRFS_SUBVOLUME="NONE"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue