view ci/load-snd-dummy.sh @ 23764:c4208c7ba1cb v8.2.2423

patch 8.2.2423: missing error message Commit: https://github.com/vim/vim/commit/61015162ba834541c42da5db6f3fa0ebe1d40e87 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 28 17:56:09 2021 +0100 patch 8.2.2423: missing error message Problem: Missing error message. Solution: Add the error message.
author Bram Moolenaar <Bram@vim.org>
date Thu, 28 Jan 2021 18:00:04 +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