view ci/load-snd-dummy.sh @ 29034:f3c014fe5c16 v8.2.5039

patch 8.2.5039: confusing error if first argument of popup_create() is wrong Commit: https://github.com/vim/vim/commit/83bd7a974056fd61e142c791e79d9dd89acd5ba4 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 29 17:13:24 2022 +0100 patch 8.2.5039: confusing error if first argument of popup_create() is wrong Problem: Confusing error if first argument of popup_create() is wrong. Solution: Give a more informative error.
author Bram Moolenaar <Bram@vim.org>
date Sun, 29 May 2022 18:15:03 +0200
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