From 9e18042994919d5ffc6cf705a5c8c0513a152b16 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Fri, 28 Jun 2024 18:01:57 +0200 Subject: [PATCH] fix whitespace issue --- usr/lib/archboot/installer/configuration.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/configuration.sh b/usr/lib/archboot/installer/configuration.sh index 8eb79f735..3ca9c4ef7 100644 --- a/usr/lib/archboot/installer/configuration.sh +++ b/usr/lib/archboot/installer/configuration.sh @@ -193,7 +193,8 @@ _user_management() { "3") _USER="root" while true; do # root and all users with UID >= 1000 - _USERS="$(rg -o '(.*):x:10[0-9][0-9]:.*:(.*):.*:' -r '"$1" "$2"' "${_DESTDIR}"/etc/passwd)" + _USERS="$(rg -o '(.*):x:10[0-9][0-9]:.*:(.*):.*:' -r '$1#$2' "${_DESTDIR}"/etc/passwd |\ + sd ' ' ':' | sd '#' ' ')" #shellcheck disable=SC2086 _dialog --no-cancel --default-item ${_USER} --menu " User Account Selection " 15 40 10 \ "root" "Super User" ${_USERS} "< Back" "Return To Previous Menu" 2>"${_ANSWER}" || break