mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-12-22 20:15:03 +01:00
Moved games to client-playbook repository
This commit is contained in:
parent
9e66e2271f
commit
bf9c0bed15
@ -1,14 +0,0 @@
|
||||
## games
|
||||
0ad
|
||||
warzone2100
|
||||
supertuxkart
|
||||
gnuchess
|
||||
sauerbraten
|
||||
assaultcube
|
||||
minetest
|
||||
mari0
|
||||
|
||||
### retroarch
|
||||
retroarch
|
||||
retroarch-assets-xmb
|
||||
retroarch-assets-ozone
|
@ -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")" ]
|
||||
|
Loading…
Reference in New Issue
Block a user