view ci/load-snd-dummy.sh @ 27893:8e630053c59c v8.2.4472

patch 8.2.4472: Coverity warns for use of a freed function name Commit: https://github.com/vim/vim/commit/9383a3afb6a2b7ba6a2739a66a68cc8e1162f389 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 25 21:35:17 2022 +0000 patch 8.2.4472: Coverity warns for use of a freed function name Problem: Coverity warns for use of a freed function name. Solution: Only check an autoload name when is prefixed.
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Feb 2022 22:45: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