view ci/load-snd-dummy.sh @ 20231:993d820196b9 v8.2.0671

patch 8.2.0671: Haiku: compiler warnings Commit: https://github.com/vim/vim/commit/9e175141f3437627c314257ebf894c29c71a9ded Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 30 22:51:01 2020 +0200 patch 8.2.0671: Haiku: compiler warnings Problem: Haiku: compiler warnings. Solution: Avoid the warnings. Drop display_errors() copy. (Emir Sari, closes #6018)
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Apr 2020 23:00: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