mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
fix mountpoints
This commit is contained in:
parent
07c322b598
commit
f8cf448df2
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ _enter_mountpoint() {
|
|||
rg -qw "/srv" /tmp/.parts && _MP=/var
|
||||
_dialog --no-cancel --title " Mountpoint for ${_DEV} " --inputbox "" 7 65 "${_MP}" 2>"${_ANSWER}" || return 1
|
||||
_MP=$(cat "${_ANSWER}")
|
||||
if rg "|${_MP}|" /tmp/.parts; then
|
||||
if rg "\|${_MP}\|" /tmp/.parts; then
|
||||
_dialog --msgbox "ERROR: You have defined 2 identical mountpoints! Please select another mountpoint." 8 65
|
||||
_MP=""
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue