Make the username lowercase

This commit is contained in:
theflu 2021-11-18 09:21:22 -05:00 committed by GitHub
parent 313b9b0219
commit ad7e0a444e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -237,6 +237,10 @@ fi
echo -e "\nDone!\n"
if ! source install.conf; then
read -p "Please enter username:" username
# Make username lowercase
username=${username,,}
echo "username=$username" >> ${HOME}/ArchTitus/install.conf
fi
if [ $(whoami) = "root" ];