Display updates before the process starts

This commit is contained in:
2026-01-24 20:22:59 +01:00
parent 94b836f96e
commit 6b34c42f41

View File

@@ -15,6 +15,13 @@ fi
yay -S --needed --noconfirm curl git neovim pacman-contrib yaycache yay -S --needed --noconfirm curl git neovim pacman-contrib yaycache
[ ! -e /usr/local/bin/vim ] && sudo ln -s /usr/bin/nvim /usr/local/bin/vim [ ! -e /usr/local/bin/vim ] && sudo ln -s /usr/bin/nvim /usr/local/bin/vim
# Display updates beforehand
echo -e '\nChecking for updates ...' >&2
(
checkupdates
yay -Qua
) | sort -u
# Backup system # Backup system
if which btrfs >/dev/null 2>&1; then if which btrfs >/dev/null 2>&1; then
yay -S --needed --noconfirm snapper yay -S --needed --noconfirm snapper