Update ubuntu-wine.sh
added Ubuntu 19.10
This commit is contained in:
parent
4d88db70ac
commit
e75c88da6e
@ -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.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"
|
echo "You need at least Ubuntu 18.04"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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'
|
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'
|
||||||
fi
|
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
|
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
|
||||||
@ -33,7 +37,7 @@ sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport -y
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
|
|
||||||
# install wine-staging
|
# install wine-staging
|
||||||
sudo apt install --install-recommends winehq-staging
|
sudo apt -y install --install-recommends winehq-staging
|
||||||
|
|
||||||
# install winetricks
|
# install winetricks
|
||||||
sudo apt -y install winetricks
|
sudo apt -y install winetricks
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user