view ci/load-snd-dummy.sh @ 29096:d2ef7d649fcb v8.2.5069

patch 8.2.5069: various warnings from clang on MS-Windows Commit: https://github.com/vim/vim/commit/ebb01bdb273216607f60faddf791a1b378cccfa8 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Wed Jun 8 15:14:09 2022 +0100 patch 8.2.5069: various warnings from clang on MS-Windows Problem: Various warnings from clang on MS-Windows. Solution: Fix the code to avoid the warnings. (Yegappan Lakshmanan, closes #10538)
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Jun 2022 16:15:03 +0200
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