From 1cce48b6c55d24c92639951789557a76af7e3eea Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 18 Oct 2021 21:10:07 -0400 Subject: [PATCH] install package function now checks to make sure repositories are synchronized. --- .includes/functions.sh | 2 +- configure-stormux.sh | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.includes/functions.sh b/.includes/functions.sh index a65c0d7..b87ff9e 100755 --- a/.includes/functions.sh +++ b/.includes/functions.sh @@ -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() { diff --git a/configure-stormux.sh b/configure-stormux.sh index 53acf9c..d739d88 100755 --- a/configure-stormux.sh +++ b/configure-stormux.sh @@ -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 \