Move searching for new configs before flatpaks
This commit is contained in:
@@ -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.'
|
||||
|
||||
Reference in New Issue
Block a user