ci: Teach ci-install.sh to install wine on Debian 9 'stretch'
authorSimon McVittie <smcv@collabora.com>
Wed, 3 Oct 2018 16:51:49 +0000 (17:51 +0100)
committerSimon McVittie <smcv@collabora.com>
Fri, 25 Feb 2022 13:04:20 +0000 (13:04 +0000)
Signed-off-by: Simon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=108177
Acked-by: Philip Withnall <withnall@endlessm.com>
(cherry picked from commit 408b222a9fc61327cd7be385b6705f30f0c38802)

tools/ci-install.sh

index 8f6be33..783b34b 100755 (executable)
@@ -95,6 +95,18 @@ case "$ci_distro" in
                 ;;
         esac
 
+        case "$ci_suite" in
+            (trusty)
+                # Ubuntu 14.04 didn't have the wine32, wine64 packages
+                wine32=wine:i386
+                wine64=wine:amd64
+                ;;
+            (*)
+                wine32=wine32
+                wine64=wine64
+                ;;
+        esac
+
         case "$ci_host" in
             (i686-w64-mingw32)
                 $sudo dpkg --add-architecture i386