Updates
This commit is contained in:
@@ -5,7 +5,13 @@
|
||||
echo -e "${GREEN}"
|
||||
figlet "System Update"
|
||||
echo -e "${NONE}"
|
||||
echo "It's important that your system is up-to-date before you proceed with the installation of the ML4W Dotfiles."
|
||||
if gum confirm "Do you want to update the packages of your system with yay now?" ;then
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user