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