1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-11-24 18:41:33 -05:00

Remove unnecessary if check

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-06-01 15:43:45 -07:00
parent b44c8046e9
commit a0af762521
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -448,11 +448,9 @@ arch-chroot /mnt /bin/bash -e <<EOF
grub-mkconfig -o /boot/grub/grub.cfg
# Adding user with sudo privilege
if [ -n "$username" ]; then
output "Adding $username with root privilege."
useradd -m $username
usermod -aG wheel $username
fi
if [ "${install_mode}" = 'desktop' ]; then
# Setting up dconf