view ci/load-snd-dummy.sh @ 23396:b9d94953d3e6 v8.2.2241

patch 8.2.2241: Build with Ruby and clang may fail Commit: https://github.com/vim/vim/commit/864a28b6a6ae4f1a56e230be26bc6d13e3f8b3d9 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 28 21:36:56 2020 +0100 patch 8.2.2241: Build with Ruby and clang may fail Problem: Build with Ruby and clang may fail. Solution: Adjust congigure and sed script. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/7566)
author Bram Moolenaar <Bram@vim.org>
date Mon, 28 Dec 2020 21:45: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