diff --git a/Winegon.sh b/Winegon.sh index 174843b..77849d9 100755 --- a/Winegon.sh +++ b/Winegon.sh @@ -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