From b43eec1b900cfba824563107f76d0cea5298ca88 Mon Sep 17 00:00:00 2001 From: HengiFettlich <43856260+HengiFettlich@users.noreply.github.com> Date: Sat, 31 Aug 2019 11:39:56 +0200 Subject: [PATCH] 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 1ae5332..088615c 100644 --- a/ubuntu-wine.sh +++ b/ubuntu-wine.sh @@ -11,20 +11,20 @@ sudo wget -nc https://dl.winehq.org/wine-builds/winehq.key # add wine repo key sudo apt-key add winehq.key -if ![ lsb_release | 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"] then echo "You need at least Ubuntu 18.04" exit 1 fi -if [ lsb_release | grep -q -e "18.04"]; then +if [ lsb_release -a | grep -q -e "18.04"]; then sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' fi -if [ lsb_release | grep -q -e "18.10"]; then +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 | grep -q -e "19.04"]; then +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