From f8cf448df2b7b974daf3ee9e7cd5f82ad0980bf6 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 29 Jun 2024 09:53:58 +0200 Subject: [PATCH] fix mountpoints --- usr/lib/archboot/installer/mountpoints.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/mountpoints.sh b/usr/lib/archboot/installer/mountpoints.sh index b660a9d51..2a675d171 100644 --- a/usr/lib/archboot/installer/mountpoints.sh +++ b/usr/lib/archboot/installer/mountpoints.sh @@ -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