view ci/load-snd-dummy.sh @ 31610:8707b2b5c45e v9.0.1137

patch 9.0.1137: some conditions are always false Commit: https://github.com/vim/vim/commit/ea720aea851e645f4c8ec3b20afb27c7ca38184c Author: zeertzjq <zeertzjq@outlook.com> Date: Tue Jan 3 10:54:09 2023 +0000 patch 9.0.1137: some conditions are always false Problem: Some conditions are always false. Solution: Remove the useless conditions. (closes https://github.com/vim/vim/issues/11776)
author Bram Moolenaar <Bram@vim.org>
date Tue, 03 Jan 2023 12:00: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