view ci/load-snd-dummy.sh @ 31170:b7e381d7e8b8 v9.0.0919

patch 9.0.0919: build failure with tiny features Commit: https://github.com/vim/vim/commit/9c5b7cb4cf67c64648a324e9dfd1e17d793335a4 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 22 13:29:20 2022 +0000 patch 9.0.0919: build failure with tiny features Problem: Build failure with tiny features. Solution: Adjust #ifdef's.
author Bram Moolenaar <Bram@vim.org>
date Tue, 22 Nov 2022 14: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