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
17
Winegon.sh
17
Winegon.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue