view ci/load-snd-dummy.sh @ 21518:0b448762ebbd v8.2.1309

patch 8.2.1309: build failure with tiny version Commit: https://github.com/vim/vim/commit/461f21242a8fc7f2fe9d1c723741eeda45f0ac72 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 28 20:25:47 2020 +0200 patch 8.2.1309: build failure with tiny version Problem: Build failure with tiny version. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Jul 2020 20:30:05 +0200
parents c94c103e7cb4
children 3a7017ee1161
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 install -y "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi