Merge pull request #9 from adam-burke0/master

ubuntu-wine: update for 20.04
This commit is contained in:
John Galt 2020-05-01 10:08:07 -04:00 committed by GitHub
commit 5ae1f324fd
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 export DISPLAY=:0.0
fi fi
if ! $(lsb_release -a | grep -q -e "18.04" -e "18.10" -e "19.04" -e "19.10"); then if ! $(lsb_release -a | grep -q -e "18.04" -e "18.10" -e "19.04" -e "19.10" -e "20.04"); then
echo "You need at least Ubuntu 18.04" echo "You need at least Ubuntu 18.04"
exit 1 exit 1
fi fi
@ -32,6 +32,10 @@ if $(lsb_release -a | grep -q -e "19.10"); then
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main' sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
fi fi
if $(lsb_release -a | grep -q -e "20.04"); then
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
fi
sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport -y sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport -y
sudo apt update sudo apt update