changeset 32441:75531ada5cad v9.0.1552

patch 9.0.1552: CI: sound-dummy module is not installed Commit: https://github.com/vim/vim/commit/c416fd4ca82a27c28915695ebab2e0886cd45bca Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Sat May 13 17:46:10 2023 +0100 patch 9.0.1552: CI: sound-dummy module is not installed Problem: CI: sound-dummy module is not installed. Solution: Invert using the result of the condition. (closes https://github.com/vim/vim/issues/12394)
author Bram Moolenaar <Bram@vim.org>
date Sat, 13 May 2023 19:00:03 +0200
parents 70590e04fe06
children 6a28e3d7f7c5
files .github/workflows/ci.yml src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -181,13 +181,13 @@ jobs:
         run: |
           cd /lib/modules/${{ env.LINUX_VERSION }}
           if apt-cache show linux-modules-extra-${{ env.LINUX_VERSION }} >/dev/null 2>&1 ; then
-          echo "Module " linux-modules-extra-${{ env.LINUX_VERSION }} "doesn't seem to exist, continue anyway"; exit 0
-          else
           sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }}
           sudo dpkg -x /var/cache/apt/archives/linux-modules-extra-${{ env.LINUX_VERSION }}*.deb "${DEST_DIR}"
           tar -cvC "${DEST_DIR}"/lib/modules/${{ env.LINUX_VERSION }} kernel/sound | sudo tar -x
           sudo depmod --verbose
           sudo modprobe --verbose snd-dummy
+          else
+          echo "Module " linux-modules-extra-${{ env.LINUX_VERSION }} "doesn't seem to exist, continue anyway"; exit 0
           fi
 
       - name: Check autoconf
--- a/src/version.c
+++ b/src/version.c
@@ -696,6 +696,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1552,
+/**/
     1551,
 /**/
     1550,