view ci/load-snd-dummy.sh @ 26796:63be149f733c v8.2.3926

patch 8.2.3926: build failure without the 'autochdir' option Commit: https://github.com/vim/vim/commit/92f246e4f9936f15471d5ee71b9afd5f3e6e0653 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 28 20:03:43 2021 +0000 patch 8.2.3926: build failure without the 'autochdir' option Problem: Build failure without the 'autochdir' option. (John Marriott) Solution: Add #ifdefs.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Dec 2021 21:15: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