Clone repo and reference local files rather than using curl to acquire files as needed

This commit is contained in:
2024-08-30 23:33:06 -04:00
parent 6a29177c26
commit 17b33e5d8a
20 changed files with 79 additions and 79 deletions
+4 -5
View File
@@ -3,7 +3,7 @@
loadkeys us
echo ----------------------------------------------------------------------------------------------
echo rwinkhart\'s Artix Install Script
echo last updated August 27, 2024 \(rev. A\)
echo Last updated August 30, 2024 \(rev. A\)
echo ----------------------------------------------------------------------------------------------
echo You will be asked some questions before installation.
echo -e "----------------------------------------------------------------------------------------------\n"
@@ -232,7 +232,6 @@ done
# create array of variables to pass to part 2
var_export=($formfactor $threadsminusone $gpu $boot $disk0 $username $userpassword $timezone $swap $intel_vaapi_driver $res_x $res_y_half)
# download and initiate part 2
curl https://raw.githubusercontent.com/rwinkhart/artix-install-script/main/chrootInstall.sh -o /mnt/chrootInstall.sh
chmod +x /mnt/chrootInstall.sh
artix-chroot /mnt /chrootInstall.sh "${var_export[@]}"
# initiate part 2
mount --bind /root/artix-install-script /mnt/mnt
artix-chroot /mnt /mnt/chrootInstall.sh "${var_export[@]}"