Hyprland-dotfiles/.install/updatesystem.sh
Stephan Raabe 4fea3df1cd Updates
2024-05-23 14:00:01 +02:00

18 lines
460 B
Bash

# ------------------------------------------------------
# Update System
# ------------------------------------------------------
echo -e "${GREEN}"
figlet "System Update"
echo -e "${NONE}"
echo "It's important that your system is up-to-date before you proceed."
if gum confirm "Do you want to update your system with yay now?" ;then
echo ":: Update started"
yay
elif [ $? -eq 130 ]; then
exit 130
else
echo ":: System update skipped"
fi
echo