2021-10-18 00:46:11 -04:00
|
|
|
install_package() {
|
|
|
|
# If for some reason we have to change AUR helpers, this function should make it easy to update everything all at once.
|
2021-10-20 00:33:39 -04:00
|
|
|
yay --sudoloop --needed --noconfirm -Sy "$@"
|
2021-10-18 00:46:11 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
restart() {
|
|
|
|
if dialog --clear --backtitle "Stormux" --yesno "Would you like to reboot now to apply changes?" 10 80 ; then
|
|
|
|
sudo reboot
|
|
|
|
fi
|
|
|
|
}
|