From 2fc2fb158cf1bf13516495bc64d7651d1dde49d3 Mon Sep 17 00:00:00 2001 From: Adam Burke Date: Fri, 1 May 2020 11:05:46 +0100 Subject: [PATCH] ubuntu-wine.sh Updated ubuntu-wine.sh to support 20.04 Focal Foss --- ubuntu-wine.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ubuntu-wine.sh b/ubuntu-wine.sh index 064ffa6..21ce83a 100644 --- a/ubuntu-wine.sh +++ b/ubuntu-wine.sh @@ -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" -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" exit 1 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' 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 apt update