mirror of
https://github.com/classy-giraffe/easy-arch.git
synced 2025-11-17 19:40:55 +00:00
Cosmetics.
This commit is contained in:
parent
8daefa49a7
commit
4247de265d
1 changed files with 4 additions and 4 deletions
|
|
@ -119,16 +119,16 @@ network_installer () {
|
||||||
|
|
||||||
# User enters a password for the LUKS Container (function).
|
# User enters a password for the LUKS Container (function).
|
||||||
lukspass_selector () {
|
lukspass_selector () {
|
||||||
read -r -s -p "Insert password for the LUKS container (you're not going to see the password): " password
|
read -r -s -p "Insert the password for the LUKS container (you're not going to see the password): " password
|
||||||
if [ -z "$password" ]; then
|
if [ -z "$password" ]; then
|
||||||
incEcho "\nYou need to enter a password for the LUKS Container in order to continue."
|
incEcho "You need to enter a password for the LUKS Container in order to continue."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
read -r -s -p "Password (again): " password2
|
read -r -s -p "Insert the password for the LUKS container again: " password2
|
||||||
echo
|
echo
|
||||||
if [ "$password" != "$password2" ]; then
|
if [ "$password" != "$password2" ]; then
|
||||||
incEcho "Passwords don't match, try again."
|
incEcho "Passwords don't match, please try again."
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
return 0
|
return 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue