view ci/load-snd-dummy.sh @ 28489:922cd0dced4b v8.2.4769

patch 8.2.4769: build warning with UCRT Commit: https://github.com/vim/vim/commit/68aaff4697bab4a278436e6f7ae042262223e51c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 17 10:57:44 2022 +0100 patch 8.2.4769: build warning with UCRT Problem: Build warning with UCRT. Solution: Adjust #ifdef for _wenviron. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sun, 17 Apr 2022 12:00:06 +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