diff --git a/1-setup.sh b/1-setup.sh index 1633cda..1cb2c48 100755 --- a/1-setup.sh +++ b/1-setup.sh @@ -11,7 +11,7 @@ echo -ne " Automated Arch Linux Installer ------------------------------------------------------------------------- " -source setup.conf +source $SCRIPTHOME/setup.conf echo -ne " ------------------------------------------------------------------------- Network Setup diff --git a/2-user.sh b/2-user.sh index f583586..a749a8c 100755 --- a/2-user.sh +++ b/2-user.sh @@ -14,6 +14,7 @@ echo -ne " Installing AUR Softwares " # You can solve users running this script as root with this and then doing the same for the next for statement. However I will leave this up to you. +source $SCRIPTHOME/setup.conf cd ~ git clone "https://aur.archlinux.org/yay.git" diff --git a/3-post-setup.sh b/3-post-setup.sh index f90f9c9..3d37714 100755 --- a/3-post-setup.sh +++ b/3-post-setup.sh @@ -14,6 +14,7 @@ echo -ne " Final Setup and Configurations GRUB EFI Bootloader Install & Check " +source $SCRIPTHOME/setup.conf if [[ -d "/sys/firmware/efi" ]]; then grub-install --efi-directory=/boot ${DISK} fi diff --git a/archtitus.sh b/archtitus.sh index c6e09e4..fc1ef36 100755 --- a/archtitus.sh +++ b/archtitus.sh @@ -18,8 +18,8 @@ echo -ne " bash startup.sh source setup.conf bash 0-preinstall.sh + cp setup.conf /mnt/root/$SCRIPTHOME/setup.conf arch-chroot /mnt /root/$SCRIPTHOME/1-setup.sh - source /mnt/root/$SCRIPTHOME/install.conf arch-chroot /mnt /usr/bin/runuser -u $username -- /home/$username/$SCRIPTHOME/2-user.sh arch-chroot /mnt /root/$SCRIPTHOME/3-post-setup.sh