Skip to content

Commit

Permalink
Use default mirrorlist
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Dec 15, 2023
1 parent 65781f3 commit cc1057f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gnumeric-junest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Include = /etc/pacman.d/mirrorlist" >> ./.junest/etc/pacman.conf
###Include = /etc/pacman.d/chaotic-mirrorlist" >> ./.junest/etc/pacman.conf

# CUSTOM MIRRORLIST, THIS SHOULD SPEEDUP THE INSTALLATION OF THE PACKAGES IN PACMAN (COMMENT EVERYTHING TO USE THE DEFAULT MIRROR)
COUNTRY=$(curl -i ipinfo.io | grep country | cut -c 15- | cut -c -2)
rm -R ./.junest/etc/pacman.d/mirrorlist
wget -q https://archlinux.org/mirrorlist/?country="$(echo $COUNTRY)" -O - | sed 's/#Server/Server/g' >> ./.junest/etc/pacman.d/mirrorlist
#COUNTRY=$(curl -i ipinfo.io | grep country | cut -c 15- | cut -c -2)
#rm -R ./.junest/etc/pacman.d/mirrorlist
#wget -q https://archlinux.org/mirrorlist/?country="$(echo $COUNTRY)" -O - | sed 's/#Server/Server/g' >> ./.junest/etc/pacman.d/mirrorlist

# BYPASS SIGNATURE CHECK LEVEL
sed -i 's/#SigLevel/SigLevel/g' ./.junest/etc/pacman.conf
Expand Down

0 comments on commit cc1057f

Please sign in to comment.