fix: improve user prompt in installation script for debros user creation

- Updated the user creation prompt to use `read -rp` for better user experience by allowing inline input without a newline.
- Ensured clarity in the prompt message for creating the 'debros' user.
This commit is contained in:
anonpenguin23 2025-10-25 15:58:08 +03:00
parent 6bce9f23d0
commit e5a71ba295
No known key found for this signature in database
GPG Key ID: 1CBB1FE35AFBEE30

View File

@ -70,7 +70,7 @@ check_and_setup_debros_user() {
# Ask for permission to create the user
while true; do
read -p "Would you like to create the '$DEBROS_USER' user? (yes/no): " CREATE_USER_CHOICE
read -rp "Would you like to create the '$DEBROS_USER' user? (yes/no): " CREATE_USER_CHOICE
case "$CREATE_USER_CHOICE" in
[Yy][Ee][Ss]|[Yy])
log "Creating system user '$DEBROS_USER'..."