Add ArmCord & Steam installs, + minor updates

This commit is contained in:
askiiart 2023-09-11 22:22:20 -05:00
parent c86fa46a01
commit b371a1642e
No known key found for this signature in database
GPG key ID: C89CBC4F981EE719
5 changed files with 64 additions and 20 deletions

View file

@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -e
if [ $(whoami) == "root" ]; then
echo "Run as a normal user, not root"
exit 1
fi
command_exists() { type "$1" &>/dev/null; }
if command_exists "apt-get"; then
curl -LO https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb
sudo dpkg -i steam.deb
elif command_exists "yum"; then
sudo dnf install steam -y
elif command_exists "pacman"; then
echo "[multilib]\nInclude = /etc/pacman.d/mirrorlist"
read -p "Enable the multilib repo in /etc/pacman.conf - look above`
$EDITOR /etc/pacman.conf
else
echo "IDK"
fi