view ci/load-snd-dummy.sh @ 23915:40fe7d8a3c93 v8.2.2500

patch 8.2.2500: build fails without the GUI feature Commit: https://github.com/vim/vim/commit/0bcadf14aa700c166c09f1800ed3de00b9598b39 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 11 19:18:58 2021 +0100 patch 8.2.2500: build fails without the GUI feature Problem: Build fails without the GUI feature. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Thu, 11 Feb 2021 19:30:04 +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