view ci/load-snd-dummy.sh @ 25646:99fbffe75217 v8.2.3359

patch 8.2.3359: Vim9: error for type when variable is not set Commit: https://github.com/vim/vim/commit/c66f645b809d0852592ca37afacb9031b5950c7f Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 19 21:08:30 2021 +0200 patch 8.2.3359: Vim9: error for type when variable is not set Problem: Vim9: error for type when variable is not set. Solution: Give a specific error for a NULL function. (closes https://github.com/vim/vim/issues/8773)
author Bram Moolenaar <Bram@vim.org>
date Thu, 19 Aug 2021 21: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