mirror of
https://gitlab.com/JKANetwork/JKArch.git
synced 2026-12-06 01:38:23 +01:00
Fix installer
This commit is contained in:
1 parent
2bfc4e8aab
commit
a557b6e616
1 file changed
+4
-2
@@ -426,14 +426,16 @@ function installconf {
|
||||
fi
|
||||
|
||||
# Download or install base system.
|
||||
wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/installer/pacman.conf -O pacman.conf
|
||||
execl wget -nv https://gitlab.com/JKANetwork/JKArch/raw/master/installer/pacman.conf -O pacman.conf
|
||||
#JKArch Mirrorlist needed
|
||||
wget -nv https://mirror.jkanetwork.com/Arch-repository/jkarch-mirrorlist -O /etc/pacman.d/jkarch-mirrorlist
|
||||
execl wget -nv https://mirror.jkanetwork.com/Arch-repository/jkarch-mirrorlist -O /etc/pacman.d/jkarch-mirrorlist
|
||||
isanetworkerror # Comprueba si hubo un error de descarga
|
||||
tput setaf 2 ; echo "$(T "Downloading")" ; tput setaf 9
|
||||
#Install base and disk format drivers. Reflector and rsync is for updating mirrorlist later
|
||||
execl pacstrap -C pacman.conf /mnt/ base jkarch-mirrorlist reflector rsync dosfstools ntfs-3g btrfs-progs exfat-utils
|
||||
pacmanerror
|
||||
# Copy pacman.conf
|
||||
execl cp pacman.conf /mnt/etc/pacman.conf
|
||||
|
||||
# Create fstab
|
||||
execl genfstab -U /mnt > /mnt/etc/fstab
|
||||
|
||||
Reference in new issue
Block a user