view ci/load-snd-dummy.sh @ 32134:c8612da7564c v9.0.1398

patch 9.0.1398: profile test repeats the headers many times Commit: https://github.com/vim/vim/commit/c0bdbfb2ee026e913e23a5d6bcaa97d44d9a6406 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 10 18:28:12 2023 +0000 patch 9.0.1398: profile test repeats the headers many times Problem: Profile test repeats the headers many times. Solution: Put the headers in script variables.
author Bram Moolenaar <Bram@vim.org>
date Fri, 10 Mar 2023 19:45: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