diff options
author | Maxim Biro <nurupo.contributions@gmail.com> | 2019-01-03 20:46:11 -0500 |
---|---|---|
committer | Maxim Biro <nurupo.contributions@gmail.com> | 2019-01-03 22:02:22 -0500 |
commit | ebf3a82de8709270cb46266f1c06a3c1cee0649d (patch) | |
tree | a6738b0ecf170a6b655a7145904ec3cdd7fe7b79 /other/docker/windows | |
parent | 1ddc922750b87fa71e4cfb06d8b12f4c81f58531 (diff) |
Use new WineHQ Debian package repository key
Diffstat (limited to 'other/docker/windows')
-rw-r--r-- | other/docker/windows/get_packages.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/other/docker/windows/get_packages.sh b/other/docker/windows/get_packages.sh index 547ee163..4919f48f 100644 --- a/other/docker/windows/get_packages.sh +++ b/other/docker/windows/get_packages.sh | |||
@@ -43,12 +43,17 @@ if [ "${SUPPORT_TEST}" = "true" ]; then | |||
43 | 43 | ||
44 | # Add Wine package repository to use the latest Wine | 44 | # Add Wine package repository to use the latest Wine |
45 | echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" >> /etc/apt/sources.list | 45 | echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" >> /etc/apt/sources.list |
46 | curl -o Release.key https://dl.winehq.org/wine-builds/Release.key | 46 | curl -o Release.key https://dl.winehq.org/wine-builds/winehq.key |
47 | # Verify against a known good key fingerprint. --dry-run makes it so we don't actually import the key. | ||
48 | if ! gpg --batch --dry-run --import --import-options import-show --fingerprint Release.key | grep 'D43F 6401 4536 9C51 D786 DDEA 76F1 A20F F987 672F'; then | ||
49 | echo "Error: WineHQ's Debian package repository key fingerprint didn't match the expected one. Exiting." | ||
50 | exit 1 | ||
51 | fi | ||
47 | apt-key add Release.key | 52 | apt-key add Release.key |
48 | 53 | ||
49 | dpkg --add-architecture i386 | 54 | dpkg --add-architecture i386 |
50 | apt-get update | 55 | apt-get update |
51 | apt-get install -y --allow-unauthenticated \ | 56 | apt-get install -y \ |
52 | wine-devel \ | 57 | wine-devel \ |
53 | wine-devel-amd64 \ | 58 | wine-devel-amd64 \ |
54 | wine-devel-dbg \ | 59 | wine-devel-dbg \ |