view ci/load-snd-dummy.sh @ 27362:2ca6dd1f62af v8.2.4209

patch 8.2.4209: partial in 'opfunc' cannot use an imported function Commit: https://github.com/vim/vim/commit/3e93a2b075e99a2b3ced85227a6373be233712ff Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 24 21:28:01 2022 +0000 patch 8.2.4209: partial in 'opfunc' cannot use an imported function Problem: partial in 'opfunc' cannot use an imported function. Solution: Also expand the function name in a partial. (closes https://github.com/vim/vim/issues/9614)
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Jan 2022 22:30: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