view ci/load-snd-dummy.sh @ 31225:39d22d78ce92 v9.0.0946

patch 9.0.0946: CI: Error in Coverity flow is not reported Commit: https://github.com/vim/vim/commit/ad85af5b384d8d36d7bd3e9b4086190d3a40ab15 Author: K.Takata <kentkt@csc.jp> Date: Fri Nov 25 00:57:05 2022 +0000 patch 9.0.0946: CI: Error in Coverity flow is not reported Problem: CI: Error in Coverity flow is not reported. Solution: Use another way to avoid errors in a forked repository. (Ken Takata, closes #11609)
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Nov 2022 02:00:04 +0100
parents 3a7017ee1161
children
line wrap: on
line source

#!/bin/bash
set -e

if ! modprobe snd-dummy; then
    # snd-dummy is contained in linux-modules-extra (if exists)
    apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi