mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-02-14 17:21:32 +01:00
fix big bug in online version, sorry
This commit is contained in:
@@ -286,12 +286,12 @@ mkdir -p /mnt/boot/efi
|
||||
mount /dev/$partefi /mnt/boot/efi/
|
||||
fi
|
||||
if [[ $isoffline = "0" ]];then
|
||||
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O /tmp/pacman.conf
|
||||
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/archinstall/pacman.conf -O pacman.conf
|
||||
isanetworkerror #Comprueba si hubo un error de descarga
|
||||
tput setaf 2 ; echo "$(T "Optimizing download")" ; tput setaf 9
|
||||
reflector --verbose -l 6 --sort rate --save /etc/pacman.d/mirrorlist
|
||||
tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9
|
||||
pacstrap -C /tmp/pacman.conf /mnt/ base btrfs-progs jkarch-mirrorlist
|
||||
pacstrap -C pacman.conf /mnt/ base btrfs-progs jkarch-mirrorlist
|
||||
mv pacman.conf /mnt/etc/pacman.conf
|
||||
fi
|
||||
if [[ $isoffline = "1" ]];then
|
||||
@@ -332,7 +332,9 @@ mount --bind /sys /mnt/sys
|
||||
mount --bind /proc /mnt/proc
|
||||
mount --bind /dev /mnt/dev
|
||||
mount --bind /run /mnt/run
|
||||
mount --bind /run/archiso/bootmnt/ /mnt/run/archiso/bootmnt/
|
||||
if [[ $isoffline = 1 ]];then
|
||||
mount --bind /run/archiso/bootmnt/ /mnt/run/archiso/bootmnt/
|
||||
fi
|
||||
chroot /mnt /bin/bash -c "./root/inst/chrootinstall.sh $sclang $particionraiz $partefi"
|
||||
}
|
||||
clear
|
||||
|
||||
Reference in New Issue
Block a user