change username dialog to reflect previous change

This commit is contained in:
Dan Johansen 2021-03-25 18:33:00 +01:00
parent 985c4f036f
commit 42a01d90b8
No known key found for this signature in database
GPG Key ID: 084A7FC0035B1D49
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ fi
if [ ! -z "$EDITION" ]; then
USER=$(dialog --clear --title "Manjaro ARM Installer" \
--inputbox "Enter the username you want:
(usernames most be all lowercase)" 8 50 \
(usernames must be all lowercase and first character may not be a number)" 8 50 \
3>&1 1>&2 2>&3 3>&-)
if [[ "$USER" =~ [A-Z] ]] || [[ "$USER" =~ ^[0-9] ]] || [[ "$USER" == *['!'@#\$%^\&*()_+]* ]]; then
clear