diff --git a/1-setup.sh b/1-setup.sh index 725b8fe..4f49f28 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -96,7 +96,7 @@ if ! source install.conf; then fi echo "Incorrect username." done -# save the username in lowercase form to install.conf +# convert name to lowercase before saving to install.conf echo "username=${username,,}" >> ${HOME}/${SCRIPTHOME}/install.conf fi if [ $(whoami) = "root" ]; @@ -123,7 +123,7 @@ then fi done - echo ${nameofmachine,,} > /etc/hostname + echo ${nameofmachine} > /etc/hostname else echo "You are already a user proceed with aur installs" fi