mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add another loop
This commit is contained in:
parent
41a864774e
commit
17ff3e33c3
1 changed files with 9 additions and 4 deletions
|
@ -214,7 +214,8 @@ _mountpoints() {
|
|||
[[ "${_FSTYPE}" == "vfat" ]] && _FSTYPE=""
|
||||
fi
|
||||
else
|
||||
if [[ -n "${_DO_SWAP}" && ! "${_DEV}" == "NONE" ]]; then
|
||||
if [[ -n "${_DO_SWAP}" ]]; then
|
||||
if ! [[ "${_DEV}" == "NONE" ]]; then
|
||||
if ! [[ "${_FSTYPE}" == "swap" ]]; then
|
||||
_dialog --msgbox "Error: SWAP PARTITION has not a swap filesystem." 5 50
|
||||
_FS_FAILED=1
|
||||
|
@ -222,6 +223,10 @@ _mountpoints() {
|
|||
_DO_SWAP=""
|
||||
_FS_FAILED=""
|
||||
fi
|
||||
else
|
||||
_DO_SWAP=""
|
||||
_FS_FAILED=""
|
||||
fi
|
||||
elif [[ -n "${_DO_ROOT}" ]]; then
|
||||
_DO_ROOT=""
|
||||
elif [[ -n "${_DO_UEFISYSDEV}" ]]; then
|
||||
|
|
Loading…
Reference in a new issue