From bf9c0bed155b23df8da4b24bd366e1ab13d176ce Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 12 Nov 2021 16:29:59 +0100 Subject: [PATCH] Moved games to client-playbook repository --- configuration/packages/client/pacman/games.txt | 14 -------------- scripts/client/setup.sh | 16 ---------------- 2 files changed, 30 deletions(-) delete mode 100644 configuration/packages/client/pacman/games.txt diff --git a/configuration/packages/client/pacman/games.txt b/configuration/packages/client/pacman/games.txt deleted file mode 100644 index 989a1f9..0000000 --- a/configuration/packages/client/pacman/games.txt +++ /dev/null @@ -1,14 +0,0 @@ -## games -0ad -warzone2100 -supertuxkart -gnuchess -sauerbraten -assaultcube -minetest -mari0 - -### retroarch -retroarch -retroarch-assets-xmb -retroarch-assets-ozone diff --git a/scripts/client/setup.sh b/scripts/client/setup.sh index cfeeb1f..ac9d83e 100644 --- a/scripts/client/setup.sh +++ b/scripts/client/setup.sh @@ -178,22 +178,6 @@ if [ "$DESKTOP_SESSION" == "gnome" ]; then fi -info "Testing if computer has more then 4GB of memory to process games..." && -if [ "$(echo "( $(grep MemTotal /proc/meminfo | awk '{print $2}') / (1024 ^ 2) ) > 4" | bc -l)" = "1" ]; - then - pacman_game_packages="$(get_packages "client/pacman/games")" - yay_game_packages="$(get_packages "client/yay/games")" - success "Ok" && - info "Installing games..." && - info "Installing yay packages [ $yay_game_packages ]..." && - install_yay_packages_if_needed "$yay_game_packages" && - info "Installing pacman packages [ $pacman_game_packages ]..." && - sudo pacman -S --needed "$(get_packages "client/pacman/games")" || error "Syncronisation failed."; - else - warning "Not enough ressources." && - info "Skipping game installation"; -fi - info "Removing all software from user startup..." autostart_folder="$HOME/.config/autostart/" if [ "$(ls -A "$autostart_folder")" ]