view ci/load-snd-dummy.sh @ 31614:f3c7e573b7be v9.0.1139

patch 9.0.1139: cannot create a new object in a compiled function Commit: https://github.com/vim/vim/commit/46ab925937d04c208d905cfb50bd8ffcae11e466 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 3 14:01:21 2023 +0000 patch 9.0.1139: cannot create a new object in a compiled function Problem: Cannot create a new object in a compiled function. Solution: Compile the instructins to create a new object.
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Jan 2023 15: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