view ci/load-snd-dummy.sh @ 24388:72f3e40f046c v8.2.2734

patch 8.2.2734: Vim9: cannot use legacy script-local var from :def function Commit: https://github.com/vim/vim/commit/15e5e53ef29a457126f7c699931ab5842431f2ea Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 7 21:21:13 2021 +0200 patch 8.2.2734: Vim9: cannot use legacy script-local var from :def function Problem: Vim9: cannot use legacy script-local var from :def function. Solution: Do not insist on using "s:" prefix. (closes https://github.com/vim/vim/issues/8076)
author Bram Moolenaar <Bram@vim.org>
date Wed, 07 Apr 2021 21:30:04 +0200
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