From 4b788c651194f0fb51416f6266c5857d073ea091 Mon Sep 17 00:00:00 2001
From: RP1 <you@example.com>
Date: Sun, 22 Dec 2024 22:34:00 +0100
Subject: [PATCH] added reflector back

---
 rp-os-ae.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/rp-os-ae.sh b/rp-os-ae.sh
index cf67748..9203378 100644
--- a/rp-os-ae.sh
+++ b/rp-os-ae.sh
@@ -13,6 +13,12 @@ yellow=$(tput setaf 3) # ${yellow}
 
     echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-t
     sudo sed -i 's/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug lto !autodeps)/OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto !autodeps)/' /etc/makepkg.conf
+  
+# Installing reflector for updating mirrors
+  
+    sudo pacman -S reflector rsync --noconfirm
+    sudo reflector -c "Hungary,Austria,Germany,Czech" -f 12 -l 10 -n 12 --save /etc/pacman.d/mirrorlist
+    sudo pacman -Sy
 
 # Installing packages