11 lines
335 B
Bash
11 lines
335 B
Bash
|
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 --needed --noconfirm -S "$@"
|
||
|
}
|
||
|
|
||
|
restart() {
|
||
|
if dialog --clear --backtitle "Stormux" --yesno "Would you like to reboot now to apply changes?" 10 80 ; then
|
||
|
sudo reboot
|
||
|
fi
|
||
|
}
|