install package function now checks to make sure repositories are synchronized.
This commit is contained in:
parent
280a36cb02
commit
1cce48b6c5
@ -1,6 +1,6 @@
|
||||
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 "$@"
|
||||
yay --needed --noconfirm -Sy "$@"
|
||||
}
|
||||
|
||||
restart() {
|
||||
|
@ -39,10 +39,13 @@ while [[ "$choice" != "Exit" ]]; do
|
||||
restart
|
||||
;;
|
||||
"Install Mate Desktop")
|
||||
./.includes/gui.sh mate
|
||||
source .includes/gui.sh mate
|
||||
;;
|
||||
"Install Ratpoison Windowmanager")
|
||||
./.includes/gui.sh ratpoison
|
||||
source .includes/gui.sh ratpoison
|
||||
;;
|
||||
"Set up gaming")
|
||||
source .includes/gaming.sh
|
||||
;;
|
||||
esac
|
||||
choice="$(menulist \
|
||||
|
Loading…
Reference in New Issue
Block a user