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() {
|
install_package() {
|
||||||
# If for some reason we have to change AUR helpers, this function should make it easy to update everything all at once.
|
# 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() {
|
restart() {
|
||||||
|
@ -39,10 +39,13 @@ while [[ "$choice" != "Exit" ]]; do
|
|||||||
restart
|
restart
|
||||||
;;
|
;;
|
||||||
"Install Mate Desktop")
|
"Install Mate Desktop")
|
||||||
./.includes/gui.sh mate
|
source .includes/gui.sh mate
|
||||||
;;
|
;;
|
||||||
"Install Ratpoison Windowmanager")
|
"Install Ratpoison Windowmanager")
|
||||||
./.includes/gui.sh ratpoison
|
source .includes/gui.sh ratpoison
|
||||||
|
;;
|
||||||
|
"Set up gaming")
|
||||||
|
source .includes/gaming.sh
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
choice="$(menulist \
|
choice="$(menulist \
|
||||||
|
Loading…
Reference in New Issue
Block a user