Skip to content

Commit

Permalink
Use default mirrorlist
Browse files Browse the repository at this point in the history
Found errors when building various ArchImages from Arch Linux repositories
  • Loading branch information
ivan-hc committed Dec 15, 2023
1 parent 3a51c3f commit 60ee836
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions gimp-dev-junest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,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
6 changes: 3 additions & 3 deletions gimp-git-junest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,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
6 changes: 3 additions & 3 deletions gimp-hybrid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ git clone https://github.com/fsquillace/junest.git ~/.local/share/junest
#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
6 changes: 3 additions & 3 deletions gimp-junest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ git clone https://github.com/fsquillace/junest.git ~/.local/share/junest
#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 60ee836

Please sign in to comment.