Merged steamOS + Arch | Debian installs wine-development
This commit is contained in:
parent
992485bf0c
commit
485ec69777
1 changed files with 6 additions and 11 deletions
13
Winegon.sh
13
Winegon.sh
|
@ -21,7 +21,7 @@ ubuntu_install () {
|
|||
}
|
||||
|
||||
debian_install () {
|
||||
sudo apt install wine winetricks
|
||||
sudo apt install wine-development winetricks
|
||||
}
|
||||
|
||||
arch_install () {
|
||||
|
@ -34,19 +34,15 @@ 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!"
|
||||
arch_install
|
||||
else
|
||||
if [[ $(cat /etc/*-release | grep "SteamOS") ]]; then
|
||||
echo "Detected SteamOS!"
|
||||
if [[ $(cat /etc/*-release | grep "Arch Linux") ]] || [[ $(cat /etc/*-release | grep "SteamOS") ]]; then
|
||||
echo "Detected Arch Linux or derivative!"
|
||||
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"
|
||||
|
@ -55,7 +51,6 @@ check_dependencies () {
|
|||
fi
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
#Downloads Polygon
|
||||
|
|
Loading…
Reference in a new issue