-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
737: Upgrade WINE versions to 7.0. r=Emilgardis a=Alexhuszagh Updates from WINE 3.0 to 7.0 on `*-pc-windows-gnu` images using binary releases provide by WINE HQ. Closes #390. Co-authored-by: Alex Huszagh <ahuszagh@gmail.com>
- Loading branch information
Showing
4 changed files
with
36 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
set -euo pipefail | ||
|
||
# shellcheck disable=SC1091 | ||
. lib.sh | ||
|
||
main() { | ||
install_packages wget | ||
|
||
dpkg --add-architecture i386 | ||
|
||
# add repository for latest wine version and install from source | ||
# hardcode version, since we might want to avoid a version later. | ||
wget -nc https://dl.winehq.org/wine-builds/winehq.key | ||
mv winehq.key /usr/share/keyrings/winehq-archive.key | ||
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/bionic/winehq-bionic.sources | ||
mv winehq-bionic.sources /etc/apt/sources.list.d/ | ||
apt-get update | ||
apt install --no-install-recommends --assume-yes \ | ||
"winehq-stable=7.0.0.0~bionic-1" | ||
|
||
purge_packages | ||
} | ||
|
||
main "${@}" |