Moved games to client-playbook repository

This commit is contained in:
Kevin Veen-Birkenbach 2021-11-12 16:29:59 +01:00
parent 9e66e2271f
commit bf9c0bed15
2 changed files with 0 additions and 30 deletions

View File

@ -1,14 +0,0 @@
## games
0ad
warzone2100
supertuxkart
gnuchess
sauerbraten
assaultcube
minetest
mari0
### retroarch
retroarch
retroarch-assets-xmb
retroarch-assets-ozone

View File

@ -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")" ]