Use wine from PlayOnLinux because it's already nice and prepackaged.
This commit is contained in:
parent
2ce7432cad
commit
0a45de0aa5
@ -2,14 +2,16 @@
|
|||||||
|
|
||||||
|
|
||||||
# URL from where wine is downloaded, must be i686
|
# URL from where wine is downloaded, must be i686
|
||||||
wineURL="https://stormux.org/downloads/wine.tgz"
|
wineURL="https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-6.11-upstream-linux-x86.tar.gz"
|
||||||
|
|
||||||
# Install required packages
|
# Install required packages
|
||||||
install_package cabextract box86 dos2unix p7zip unzip xdotool
|
install_package cabextract box86 dos2unix p7zip unzip xdotool
|
||||||
# Download and install wine
|
# Download and install wine
|
||||||
wineFile="$(mktemp)"
|
wineFile="$(mktemp)"
|
||||||
wget -O "$wineFile" "$wineURL"
|
wget -O "$wineFile" "$wineURL"
|
||||||
pushd /opt
|
# Create wine directory
|
||||||
|
sudo mkdir -p /opt/wine
|
||||||
|
pushd /opt/wine
|
||||||
sudo tar xf "$wineFile"
|
sudo tar xf "$wineFile"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user