Fixing merge

This commit is contained in:
71Zombie 2021-11-01 08:17:18 -04:00
parent ede10531a2
commit 3f0c44ef49
1 changed files with 4 additions and 3 deletions

View File

@ -100,6 +100,7 @@ PKGS=(
'dtc' 'dtc'
'efibootmgr' # EFI boot 'efibootmgr' # EFI boot
'egl-wayland' 'egl-wayland'
'element-desktop-git' # Matrix Client
'exfat-utils' 'exfat-utils'
'fail2ban' # Intrusion prevention 'fail2ban' # Intrusion prevention
'flameshot' 'flameshot'
@ -251,14 +252,14 @@ fi
echo -e "\nDone!\n" echo -e "\nDone!\n"
if ! source install.conf; then if ! source install.conf; then
read -p "Please enter username:" username read -p "Please enter username:" username
echo "username=$username" >> ${HOME}/ArchTitus/install.conf echo "username=$username" >> ${HOME}/BetterArch/install.conf
fi fi
if [ $(whoami) = "root" ]; if [ $(whoami) = "root" ];
then then
useradd -m -G wheel,libvirt -s /bin/bash $username useradd -m -G wheel,libvirt -s /bin/bash $username
passwd $username passwd $username
cp -R /root/ArchTitus /home/$username/ cp -R /root/BetterArch /home/$username/
chown -R $username: /home/$username/ArchTitus chown -R $username: /home/$username/BetterArch
read -p "Please name your machine:" nameofmachine read -p "Please name your machine:" nameofmachine
echo $nameofmachine > /etc/hostname echo $nameofmachine > /etc/hostname
else else