view ci/load-snd-dummy.sh @ 27340:2b3cc874334c v8.2.4198

patch 8.2.4198: Vim9: the switch for executing instructions is too long Commit: https://github.com/vim/vim/commit/058ee7c5699ef551be5aa04c66b3cffc436e9b08 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 23 20:00:42 2022 +0000 patch 8.2.4198: Vim9: the switch for executing instructions is too long Problem: Vim9: the switch for executing instructions is too long. Solution: Move some code to separate functions.
author Bram Moolenaar <Bram@vim.org>
date Sun, 23 Jan 2022 21:15: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