Merge pull request #4 from Lil-Dragon/master

Revised
This commit is contained in:
HengiFettlich 2020-02-29 11:19:58 +01:00 committed by GitHub
commit 65d6fcac36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@ if [ -z "$DISPLAY" ]; then
export DISPLAY=:0.0
fi
if ! $(lsb_release -a | grep -q -e "18.04" -e "18.10" -e "19.04"); then
if ! $(lsb_release -a | grep -q -e "18.04" -e "18.10" -e "19.04" -e "19.10"); then
echo "You need at least Ubuntu 18.04"
exit 1
fi
@ -28,6 +28,10 @@ if $(lsb_release -a | grep -q -e "19.04"); then
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main'
fi
if $(lsb_release -a | grep -q -e "19.10"); then
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
fi
sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport -y
sudo apt update