view ci/load-snd-dummy.sh @ 29930:cd573d7bc30d v9.0.0303

patch 9.0.0303: it is not easy to get information about a script Commit: https://github.com/vim/vim/commit/2f892d8663498c21296ad6661dac1bb8372cfd10 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Aug 28 18:52:10 2022 +0100 patch 9.0.0303: it is not easy to get information about a script Problem: It is not easy to get information about a script. Solution: Make getscriptinf() return the version. When selecting a specific script return functions and variables. (Yegappan Lakshmanan, closes #10991)
author Bram Moolenaar <Bram@vim.org>
date Sun, 28 Aug 2022 20:00:05 +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