Move searching for new configs before flatpaks
This commit is contained in:
@@ -95,15 +95,16 @@ echo -e '\nCleaning cache ...' >&2
|
|||||||
sudo paccache -r
|
sudo paccache -r
|
||||||
yaycache -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 ----------------
|
# ---------------- Update flatpaks ----------------
|
||||||
if which flatpak >/dev/null 2>&1; then
|
if which flatpak >/dev/null 2>&1; then
|
||||||
echo -e '\nUpdating flatpaks ...' >&2
|
echo -e '\nUpdating flatpaks ...' >&2
|
||||||
flatpak update
|
flatpak update
|
||||||
fi
|
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.'
|
echo -e '\nIt is recommended to restart the system.'
|
||||||
|
|||||||
Reference in New Issue
Block a user