view ci/load-snd-dummy.sh @ 27106:d7e6b85dd89d v8.2.4082

patch 8.2.4082: check for autoload file name and prefix fails Commit: https://github.com/vim/vim/commit/3049fcf0a189b0fea8468fa308887b8252d93dce Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 13 19:25:50 2022 +0000 patch 8.2.4082: check for autoload file name and prefix fails Problem: Check for autoload file name and prefix fails. (Christian J. Robinson) Solution: Only lower case the prefix on systems where the file name is not case sensitive.
author Bram Moolenaar <Bram@vim.org>
date Thu, 13 Jan 2022 20:30:06 +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