view ci/load-snd-dummy.sh @ 21106:47978b89a02e v8.2.1104

patch 8.2.1104: Coverity warnts for possible NULL pointer use Commit: https://github.com/vim/vim/commit/11b6600c88165c70d9ccbbdd4d9c96e8266e365f Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 1 13:15:24 2020 +0200 patch 8.2.1104: Coverity warnts for possible NULL pointer use Problem: Coverity warnts for possible NULL pointer use. Solution: Check "pbyts" is not NULL.
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Jul 2020 13:30: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