view ci/load-snd-dummy.sh @ 23814:51a5c5f08bdd v8.2.2448

patch 8.2.2448: compilation error with Ruby 3.0 Commit: https://github.com/vim/vim/commit/9d20daffc296b9eb901fb14bdd83620ea55d440a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 1 19:31:47 2021 +0100 patch 8.2.2448: compilation error with Ruby 3.0 Problem: Compilation error with Ruby 3.0. Solution: Adjust #ifdefs and declaration. (Ken Takata, closes https://github.com/vim/vim/issues/7761)
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Feb 2021 19: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