view ci/load-snd-dummy.sh @ 21921:e420f3cf60e2 v8.2.1510

patch 8.2.1510: using "var" in :def function may refer to legacy script var Commit: https://github.com/vim/vim/commit/5390099a9733f7952a612670693dd4ebf9e0e178 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 22 19:02:02 2020 +0200 patch 8.2.1510: using "var" in :def function may refer to legacy script var Problem: Using "var" in a :def function may refer to a legacy Vim script variable. Solution: Require using "s:" to refer to a legacy Vim script variable. (closes #6771)
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 Aug 2020 19:15: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