remove saving hostname in lowercase

This commit is contained in:
Marvin Roman 2021-11-21 00:02:18 -08:00
parent 25dd4469a0
commit 3963aa1476
No known key found for this signature in database
GPG Key ID: AE99B800E0ED6CCC
1 changed files with 2 additions and 2 deletions

View File

@ -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