1
0
mirror of https://github.com/tommytran732/Arch-Setup-Script synced 2024-09-18 14:44:43 -04: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 grub-mkconfig -o /boot/grub/grub.cfg
# Adding user with sudo privilege # Adding user with sudo privilege
if [ -n "$username" ]; then output "Adding $username with root privilege."
output "Adding $username with root privilege." useradd -m $username
useradd -m $username usermod -aG wheel $username
usermod -aG wheel $username
fi
if [ "${install_mode}" = 'desktop' ]; then if [ "${install_mode}" = 'desktop' ]; then
# Setting up dconf # Setting up dconf