view ci/load-snd-dummy.sh @ 24317:b48703e93488 v8.2.2699

patch 8.2.2699: Lua test fails Commit: https://github.com/vim/vim/commit/c48f2dc0be158531511adc3065b52bdd1e64acf7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 3 17:18:52 2021 +0200 patch 8.2.2699: Lua test fails Problem: Lua test fails. Solution: Fix condition. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8060)
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Apr 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