view ci/load-snd-dummy.sh @ 32272:2df0f9779992 v9.0.1467

patch 9.0.1467: Jenkinsfiles are not recognized as groovy Commit: https://github.com/vim/vim/commit/142ffb024dd5123090c2fd02f55702e76520f1df Author: dundargoc <gocdundar@gmail.com> Date: Tue Apr 18 20:53:22 2023 +0100 patch 9.0.1467: Jenkinsfiles are not recognized as groovy Problem: Jenkinsfiles are not recognized as groovy. Solution: Add a pattern for Jenkinsfiles. (closes https://github.com/vim/vim/issues/12236)
author Bram Moolenaar <Bram@vim.org>
date Tue, 18 Apr 2023 22:00:04 +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