Merged steamOS + Arch | Debian installs wine-development

This commit is contained in:
Paul Black 2022-07-22 00:51:43 +00:00
parent 992485bf0c
commit 485ec69777

View file

@ -21,7 +21,7 @@ ubuntu_install () {
} }
debian_install () { debian_install () {
sudo apt install wine winetricks sudo apt install wine-development winetricks
} }
arch_install () { arch_install () {
@ -34,24 +34,19 @@ check_dependencies () {
fedora_install fedora_install
else else
if [[ $(cat /etc/*-release | grep "Ubuntu") ]] || [[ $(cat /etc/*-release | grep "LinuxMint") ]] || [[ $(cat /etc/*-release | grep "Pop") ]]; then if [[ $(cat /etc/*-release | grep "Ubuntu") ]] || [[ $(cat /etc/*-release | grep "LinuxMint") ]] || [[ $(cat /etc/*-release | grep "Pop") ]]; then
echo "Detected Ubuntu!" echo "Detected Ubuntu or derivative!"
ubuntu_install ubuntu_install
else else
if [[ $(cat /etc/*-release | grep "Debian") ]]; then if [[ $(cat /etc/*-release | grep "Debian") ]]; then
echo "Detected Debian!" echo "Detected Debian!"
debian_install debian_install
else else
if [[ $(cat /etc/*-release | grep "Arch Linux") ]]; then if [[ $(cat /etc/*-release | grep "Arch Linux") ]] || [[ $(cat /etc/*-release | grep "SteamOS") ]]; then
echo "Detected Arch Linux!" echo "Detected Arch Linux or derivative!"
arch_install arch_install
else else
if [[ $(cat /etc/*-release | grep "SteamOS") ]]; then echo "You're on an unsupported distro. Please manually install the required dependencies from the README.md or make a pull request adding support for your distro"
echo "Detected SteamOS!" exit
arch_install
else
echo "You're on an unsupported distro. Please manually install the required dependencies from the README.md or make a pull request adding support for your distro"
exit
fi
fi fi
fi fi
fi fi