summaryrefslogtreecommitdiff
path: root/abi
diff options
context:
space:
mode:
authorRafael Marçalo <63216029+rafa-99@users.noreply.github.com>2022-11-06 18:09:00 +0000
committerGitHub <noreply@github.com>2022-11-06 18:09:00 +0000
commit22c85ac7af4da7cbaa91b9b725a6de09d6cc3910 (patch)
treefc8a08ad96970748839a71c4ace08c7973805230 /abi
parent993c9455f65257f435b71b4476cf040e3eeac2ba (diff)
Fixed mirror issues
Diffstat (limited to 'abi')
-rwxr-xr-xabi7
1 files changed, 0 insertions, 7 deletions
diff --git a/abi b/abi
index 6b02134..515a657 100755
--- a/abi
+++ b/abi
@@ -564,13 +564,6 @@ if [ "$OS" = "artix" ]; then
$CHROOTC "pacman --needed --noconfirm -Syu artix-archlinux-support"
printf "\n#[testing]\n#Include = /etc/pacman.d/mirrorlist-arch\n\n[extra]\nInclude = /etc/pacman.d/mirrorlist-arch\n\n[community]\nInclude = /etc/pacman.d/mirrorlist-arch\n\n#[community-testing]\n#Include = /etc/pacman.d/mirrorlist-arch" >> /mnt/etc/pacman.conf
$CHROOTC "pacman-key --populate archlinux"
- mv /mnt/etc/pacman.d/mirrorlist-arch /mnt/etc/pacman.d/mirrorlist-arch.backup
- mv /mnt/etc/pacman.d/mirrorlist-universe /mnt/etc/pacman.d/mirrorlist-universe.backup
- clear
-
- echo "Updating Arch Linux Repos..."
- grep -vi ^# /mnt/etc/pacman.d/mirrorlist-arch.backup | rankmirrors - > /mnt/etc/pacman.d/mirrorlist-arch
- grep -vi ^# /mnt/etc/pacman.d/mirrorlist-universe.backup | rankmirrors - > /mnt/etc/pacman.d/mirrorlist-universe
clear
fi
fi