From 3963aa1476d4f4c454fff2a1ec8ba6b64bd68938 Mon Sep 17 00:00:00 2001 From: Marvin Roman Date: Sun, 21 Nov 2021 00:02:18 -0800 Subject: [PATCH] remove saving hostname in lowercase --- 1-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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