view ci/load-snd-dummy.sh @ 22926:edfbb06cd0ee v8.2.2010

patch 8.2.2010: Vim9: compiling fails for unreachable return statement Commit: https://github.com/vim/vim/commit/8e02faf4e903e33e41961ba042bb5146213813a5 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 18 16:35:02 2020 +0100 patch 8.2.2010: Vim9: compiling fails for unreachable return statement Problem: Vim9: compiling fails for unreachable return statement. Solution: Fix it. (closes https://github.com/vim/vim/issues/7319)
author Bram Moolenaar <Bram@vim.org>
date Wed, 18 Nov 2020 16:45:03 +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