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 () {
sudo apt install wine winetricks
sudo apt install wine-development winetricks
}
arch_install () {
@ -34,24 +34,19 @@ check_dependencies () {
fedora_install
else
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
else
if [[ $(cat /etc/*-release | grep "Debian") ]]; then
echo "Detected Debian!"
debian_install
else
if [[ $(cat /etc/*-release | grep "Arch Linux") ]]; then
echo "Detected Arch Linux!"
if [[ $(cat /etc/*-release | grep "Arch Linux") ]] || [[ $(cat /etc/*-release | grep "SteamOS") ]]; then
echo "Detected Arch Linux or derivative!"
arch_install
else
if [[ $(cat /etc/*-release | grep "SteamOS") ]]; then
echo "Detected SteamOS!"
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
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