From 999887a4fa73548977bc2f7e863c75350c095f08 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Tue, 27 May 2025 18:57:41 +0200 Subject: [PATCH] Automatically remove /etc/pacman.d/mirrorlist.pacnew since it is dynamically fetched by this script --- arch_update | 1 + 1 file changed, 1 insertion(+) diff --git a/arch_update b/arch_update index cd4a3ef..05cbc1e 100755 --- a/arch_update +++ b/arch_update @@ -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.'