diff --git a/0-preinstall.sh b/0-preinstall.sh index 2d3c887..d0b507f 100755 --- a/0-preinstall.sh +++ b/0-preinstall.sh @@ -35,7 +35,8 @@ echo -ne " Setting up $iso mirrors for faster downloads ------------------------------------------------------------------------- " -reflector -a 48 -c $iso -f 5 -l 20 --sort rate --save /etc/pacman.d/mirrorlist +# added https protocol for mirrors +reflector -a 48 -c $iso -f 5 -l 20 -p https --sort rate --save /etc/pacman.d/mirrorlist mkdir /mnt &>/dev/null # Hiding error message if any echo -ne " ------------------------------------------------------------------------- @@ -145,6 +146,8 @@ echo -ne " " pacstrap /mnt base base-devel linux linux-firmware vim nano sudo archlinux-keyring wget libnewt --noconfirm --needed echo "keyserver hkp://keyserver.ubuntu.com" >> /mnt/etc/pacman.d/gnupg/gpg.conf +# check pacstrap installed or not + cp -R ${SCRIPT_DIR} /mnt/root/ArchTitus cp /etc/pacman.d/mirrorlist /mnt/etc/pacman.d/mirrorlist echo -ne "