change username dialog to reflect previous change
This commit is contained in:
parent
985c4f036f
commit
42a01d90b8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue