From a9f5300ade50b3c39f09bed0014806681c27bfe0 Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sun, 22 Feb 2026 08:11:52 +0100 Subject: [PATCH] Move searching for new configs before flatpaks --- arch_update | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/arch_update b/arch_update index 02c0dcb..f8e1fad 100755 --- a/arch_update +++ b/arch_update @@ -95,15 +95,16 @@ echo -e '\nCleaning cache ...' >&2 sudo paccache -r yaycache -r +# ---------------- 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 + # ---------------- Update flatpaks ---------------- if which flatpak >/dev/null 2>&1; then echo -e '\nUpdating flatpaks ...' >&2 flatpak update fi -# 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.'