view ci/load-snd-dummy.sh @ 21291:c6fc976a8741 v8.2.1196

patch 8.2.1196: build failure with normal features Commit: https://github.com/vim/vim/commit/83e7450053399942e1c9efa802c568b51d948541 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 12 20:44:37 2020 +0200 patch 8.2.1196: build failure with normal features Problem: Build failure with normal features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Jul 2020 20:45:04 +0200
parents c94c103e7cb4
children 3a7017ee1161
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 install -y "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi