view ci/load-snd-dummy.sh @ 25947:5792bbdca568 v8.2.3507

patch 8.2.3507: generating proto files may fail Commit: https://github.com/vim/vim/commit/75aa92a16264e3511ba41aa306ffc1ffbbd2fe3a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 14 16:27:19 2021 +0100 patch 8.2.3507: generating proto files may fail Problem: Generating proto files may fail. Solution: Define __attribute().
author Bram Moolenaar <Bram@vim.org>
date Thu, 14 Oct 2021 17:30:04 +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