view ci/load-snd-dummy.sh @ 20265:d821c03b890c v8.2.0688

patch 8.2.0688: output clobbered if setting 'verbose' to see shell commands Commit: https://github.com/vim/vim/commit/647a530b33d9d767f591159c24c62de48e57dad7 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 3 17:01:24 2020 +0200 patch 8.2.0688: output clobbered if setting 'verbose' to see shell commands Problem: Output clobbered if setting 'verbose' to see shell commands. Solution: Only output "Searching for" when 'verbose' is 11 or higher.
author Bram Moolenaar <Bram@vim.org>
date Sun, 03 May 2020 17:15:03 +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