Add ArmCord & Steam installs, + minor updates
This commit is contained in:
parent
c86fa46a01
commit
b371a1642e
5 changed files with 64 additions and 20 deletions
20
install-stuff/install-armcord.bash
Normal file
20
install-stuff/install-armcord.bash
Normal file
|
@ -0,0 +1,20 @@
|
|||
#!/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
|
||||
sudo curl -L https://askiiart.net/repos/debian/bookworm/amd64/askiiart.list -C - -o /etc/apt/sources.list.d/askiiart.list
|
||||
sudo apt update --allow-insecure-repositories
|
||||
sudo apt install armcord -y
|
||||
elif command_exists "yum"; then
|
||||
sudo dnf config-manager --add-repo https://askiiart.net/repos/fedora/x86_64/askiiart.repo
|
||||
elif command_exists "pacman"; then
|
||||
yay -S armcord-bin
|
||||
else
|
||||
echo "IDK, check ArmCord's GitHub repo: https://github.com/ArmCord/ArmCord"
|
||||
fi
|
21
install-stuff/install-steam.bash
Normal file
21
install-stuff/install-steam.bash
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue