ubuntu-wine.sh
Updated ubuntu-wine.sh to support 20.04 Focal Foss
This commit is contained in:
parent
60a19ee420
commit
2fc2fb158c
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user