From 4d88db70ac61c78e7ae285fef44148dd2685b66d Mon Sep 17 00:00:00 2001 From: Lil-Dragon <55363094+Lil-Dragon@users.noreply.github.com> Date: Thu, 27 Feb 2020 18:47:44 -0800 Subject: [PATCH 1/2] Update ubuntu-wine.sh --- ubuntu-wine.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ubuntu-wine.sh b/ubuntu-wine.sh index 6895735..fa10b1c 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"); then +if ! $(lsb_release -a | grep -q -e "18.04" -e "18.10" -e "19.10"); then #Changed from 19.04 --> 19.10 echo "You need at least Ubuntu 18.04" exit 1 fi @@ -24,8 +24,8 @@ if $(lsb_release -a | grep -q -e "18.10"); then sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main' fi -if $(lsb_release -a | grep -q -e "19.04"); then - sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ disco main' +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 @@ -33,7 +33,7 @@ sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport -y sudo apt update # install wine-staging -sudo apt -y install --install-recommends winehq-staging +sudo apt install --install-recommends winehq-staging # install winetricks sudo apt -y install winetricks From e75c88da6ef237efd5ad951310b84f84d5545212 Mon Sep 17 00:00:00 2001 From: Lil-Dragon <55363094+Lil-Dragon@users.noreply.github.com> Date: Thu, 27 Feb 2020 20:28:43 -0800 Subject: [PATCH 2/2] Update ubuntu-wine.sh added Ubuntu 19.10 --- ubuntu-wine.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ubuntu-wine.sh b/ubuntu-wine.sh index fa10b1c..064ffa6 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.10"); then #Changed from 19.04 --> 19.10 +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 @@ -24,6 +24,10 @@ if $(lsb_release -a | grep -q -e "18.10"); then sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main' fi +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 @@ -33,7 +37,7 @@ sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport -y sudo apt update # install wine-staging -sudo apt install --install-recommends winehq-staging +sudo apt -y install --install-recommends winehq-staging # install winetricks sudo apt -y install winetricks