update system moved to the install_packages function. Audible prompts used if available.

This commit is contained in:
Storm Dragon
2023-08-17 16:39:34 -04:00
parent ba84837102
commit 110a220846
3 changed files with 3 additions and 9 deletions

View File

@ -1,6 +1,8 @@
install_package() {
# If for some reason we have to change AUR helpers, this function should make it easy to update everything all at once.
yay --sudoloop --needed --noconfirm -Sy "$@"
# make sure system is up to date
yay --sudoflags "-A" --sudoloop --noconfirm -Syu
yay --sudoflags "-A" --sudoloop --needed --noconfirm -Sy "$@"
}
restart() {