mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
other logic
This commit is contained in:
parent
a326b821a4
commit
58d7c9eefd
1 changed files with 2 additions and 3 deletions
|
@ -172,7 +172,7 @@ _mountpoints() {
|
|||
# _ASK_MOUNTPOINTS switch for create filesystem and only mounting filesystem
|
||||
# _SKIP_FILESYSTEM for btrfs
|
||||
if [[ -n "${_ASK_MOUNTPOINTS}" && -z "${_SKIP_FILESYSTEM}" ]]; then
|
||||
_select_filesystem && _create_filesystem && _btrfs_subvolume
|
||||
_select_filesystem && _create_filesystem
|
||||
else
|
||||
if [[ "${_FSTYPE}" == "btrfs" ]]; then
|
||||
_FSTYPE="btrfs"
|
||||
|
@ -205,11 +205,10 @@ _mountpoints() {
|
|||
# _ASK_MOUNTPOINTS switch for create filesystem and only mounting filesystem
|
||||
# _SKIP_FILESYSTEM for btrfs
|
||||
if [[ -n "${_ASK_MOUNTPOINTS}" && -z "${_SKIP_FILESYSTEM}" ]]; then
|
||||
_enter_mountpoint && _select_filesystem && _create_filesystem && _btrfs_subvolume
|
||||
_enter_mountpoint && _select_filesystem && _create_filesystem
|
||||
else
|
||||
_enter_mountpoint
|
||||
if [[ "${_FSTYPE}" == "btrfs" ]]; then
|
||||
_FSTYPE="btrfs"
|
||||
_SKIP_FILESYSTEM=1
|
||||
_btrfs_subvolume
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue