view ci/load-snd-dummy.sh @ 21479:90d859a402cc v8.2.1290

patch 8.2.1290: Vim9: cannot replace a global function Commit: https://github.com/vim/vim/commit/925e9fd6339981c1015410e1b6a6dd19e34f36cc Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 25 15:41:11 2020 +0200 patch 8.2.1290: Vim9: cannot replace a global function Problem: Vim9: cannot replace a global function. Solution: Allow for "!" on a global function. (closes https://github.com/vim/vim/issues/6524) Also fix that :delfunc on a :def function only made it empty.
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 Jul 2020 15:45:04 +0200
parents c94c103e7cb4
children 3a7017ee1161
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 install -y "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi