view ci/load-snd-dummy.sh @ 26386:712648e62913 v8.2.3724

patch 8.2.3724: build error for missing error message in small build Commit: https://github.com/vim/vim/commit/021ef351c2127cf8aa5668a881435a0a12774644 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 2 20:44:42 2021 +0000 patch 8.2.3724: build error for missing error message in small build Problem: Build error for missing error message in small build. Solution: Correct #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Thu, 02 Dec 2021 21:45:03 +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