view ci/load-snd-dummy.sh @ 20986:9dccf57e918a v8.2.1044

patch 8.2.1044: not all systemd file types are recognized Commit: https://github.com/vim/vim/commit/ef6d86c173becdf82b7a9a1329342c9368340def Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jun 23 21:01:38 2020 +0200 patch 8.2.1044: not all systemd file types are recognized Problem: Not all systemd file types are recognized. Solution: Match several more files. (Guido Cella, closes https://github.com/vim/vim/issues/6319)
author Bram Moolenaar <Bram@vim.org>
date Tue, 23 Jun 2020 21:15:04 +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