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.'