Merge pull request #116 from theflu/patch-1

Make the username lowercase
This commit is contained in:
Chris Titus 2021-12-31 10:08:17 -06:00 committed by GitHub
commit 9ab279a9c1
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" ];