Automatically remove /etc/pacman.d/mirrorlist.pacnew since it is dynamically fetched by this script

This commit is contained in:
2025-05-27 18:57:41 +02:00
parent 4db72307fe
commit 999887a4fa

View File

@ -65,6 +65,7 @@ which flatpak >/dev/null 2>&1 && flatpak update
# Find new configs
echo -e '\nSearching for new configs ...' >&2
[ -f /etc/pacman.d/mirrorlist.pacnew ] && sudo rm /etc/pacman.d/mirrorlist.pacnew
sudo pacdiff
echo -e '\nIt is recommended to restart the system.'