From f9443ecb14686f29c525aac9c1d40d4135ea9961 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Fri, 22 Oct 2021 21:48:22 -0500 Subject: [PATCH] Update 1-setup.sh --- 1-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-setup.sh b/1-setup.sh index 74e36ad..88e866d 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -271,7 +271,7 @@ echo "username=$username" >> ${HOME}/ArchTitus/install.conf fi if [ $(whoami) = "root" ]; then - [ ! -d "/home/$username" ] && useradd -m -G wheel,libvirt -s /bin/bash $username + useradd -m -G wheel,libvirt -s /bin/bash $username passwd $username cp -R /root/ArchTitus /home/$username/ chown -R $username: /home/$username/ArchTitus