mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
fix indentation of password selection functions
made the indentation on the password selection functions more consistent and use 4 spaces per indent instead of a literal tab character.
This commit is contained in:
parent
3df93905c4
commit
576912e9ec
1 changed files with 42 additions and 42 deletions
|
|
@ -125,7 +125,7 @@ lukspass_selector () {
|
|||
|
||||
# Setting up a password for the user account (function).
|
||||
userpass_selector () {
|
||||
while true; do
|
||||
while true; do
|
||||
read -r -s -p "Set a user password for $username: " userpass
|
||||
while [ -z "$userpass" ]; do
|
||||
echo
|
||||
|
|
@ -138,12 +138,12 @@ while true; do
|
|||
echo
|
||||
[ "$userpass" = "$userpass2" ] && break
|
||||
echo "Passwords don't match, try again."
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
# Setting up a password for the root account (function).
|
||||
rootpass_selector () {
|
||||
while true; do
|
||||
while true; do
|
||||
read -r -s -p "Set a root password: " rootpass
|
||||
while [ -z "$rootpass" ]; do
|
||||
echo
|
||||
|
|
@ -156,7 +156,7 @@ while true; do
|
|||
echo
|
||||
[ "$rootpass" = "$rootpass2" ] && break
|
||||
echo "Passwords don't match, try again."
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
# Microcode detector (function).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue